【正文】
j j j jj j j jscs s s sc s s c jsss s s s s s s sc s s c js s s s?? ? ? ?? ? ? ? ? ? ? 純量計(jì)算公式為 11111 , 2ijij k i k jijk kkcis ssc i js?????? ? ? ? ??? ? ( 2)求逆 1RS?? 11 1nnnrrRr??????? 由 RS=I 得 11 12 1 11 12 122 2 22 21 0 00 1 00 0 1nnnn nnr r r s s sr r s srs? ? ? ? ??? ? ? ? ??? ? ? ???? ? ? ?? ? ? ? ????? ? ? ? 東華理工大學(xué)畢業(yè)設(shè)計(jì) 測(cè)邊網(wǎng)平差程序設(shè)計(jì) 18 純量計(jì)算公式: 11 12122211 13 12 23133311 1 1 ( 1 ) ( 1 )122 12233322 24 23 34244422 2 2 ( 1 ) ( 1 )21()(()(iiiin n n nnnnn n n nnnnrsrsrsr s r srsr s r srsrsrsr s r srsr s r srs??????????? ? ???????? ? ?? 通式為 111,iiiijik k jkijijrsrsr j is??? ??????? ? ????? ( 3)求積 1 1 1 1( ) ( )T T TQ S D S S D S R D R? ? ? ?? ? ? 11 1 11 111nTnn nn n nnr r s rQ R D Rr s r r? ? ? ? ? ?? ? ? ? ? ??? ? ? ? ? ? ?? ? ? ? ? ?? ? ? ? ? ? 11 11 12 12 1 1 1122 22 2 21nnnn nnnnn nn nnnn nns r s r s r rrrs r s rr r rsr?? ???? ??????? 東華理工大學(xué)畢業(yè)設(shè)計(jì) 測(cè)邊網(wǎng)平差程序設(shè)計(jì) 19 精度評(píng)定 ( 1) 坐標(biāo)改正數(shù)以及單位權(quán)中誤差的計(jì)算 0m 使用上三角一維數(shù)組形式存儲(chǔ)坐標(biāo)改正數(shù)的公式為: 111 , 1 , ,ini j i j i j jjjx q w q w i n????? ? ? ??? 其中, n=2? dd, ix 的單位是 cm. 平差值: 0X X x?? 寫成分量的形式,為 0i i iX X x??? 如果近似坐標(biāo)的誤差較大,或網(wǎng)形較大,平差的結(jié)果不會(huì)精確,這時(shí),就需要進(jìn)行迭 代平差,直到兩次平差間互差在允許值內(nèi)。 解算法方程 由于法方程是對(duì)稱正定陣,因此,可采用改進(jìn)的平方根法進(jìn)行解算。 可采用以下的方法: A(m,n)=A(m,9) 其中, m為觀測(cè)值個(gè)數(shù), n 為未知點(diǎn)個(gè)數(shù)的兩倍。 水準(zhǔn)網(wǎng)程序的使用 本程序使用 MATLAB 的矩陣功能計(jì)算法方程,在運(yùn)行程序前首先要有其始數(shù)據(jù)。 此時(shí)可以利用距離 (S)或測(cè)站數(shù) (N)來確定觀測(cè)值 ——— 高程的“權(quán)” 。 水準(zhǔn) 模型 網(wǎng)的間接平差 “權(quán)”值的確定 當(dāng)在相同的條件下進(jìn)行水準(zhǔn)測(cè)量時(shí) ,其精度是相同的 ,因而觀測(cè)結(jié)果的可靠性也是同樣的 。 間接平差的公式匯集: 間接平差模型為 minTV B X lV PV?????? ?? ( 2- 1) 系數(shù)矩陣 B滿秩,即 rank(B)=t 法方程及解為: 10 , ( , )TTb b e b b eN x f N B P B f B P l?? ? ? ? ( 22) 1bb ex N f?? ( 23) 參數(shù)的平差值: 0X X x?? ( 24) 觀測(cè)量的平差值: L L V?? ( 25) 單位權(quán)中誤差: 0TV PVnt? ? ? ( 26) 平差參數(shù)的協(xié)方差陣: 210 bbXXDN? ?? ( 27) 東華理大學(xué)畢 業(yè)設(shè)計(jì) MATLAB 在測(cè)量平差中的應(yīng)用 7 平差函數(shù)的協(xié)方差陣: 210 T bbQ F N F?? ? ?? ( 28) 平差程序總體方案 MATLAB 號(hào)稱為全球工程師的共同語言,其語法和 C語言相似,但它有強(qiáng)大的數(shù)值計(jì)算和繪圖功能,這使之在工程應(yīng)用方面的計(jì)算更出色,本文就基于這種程序設(shè)計(jì) 語言環(huán)境設(shè)計(jì)一個(gè)控制網(wǎng)平差程序。因?yàn)闇y(cè)量數(shù)據(jù)的處理特別是測(cè)量平差主要應(yīng)用矩陣運(yùn)算 ,而 MATLAB 又特別易于做矩陣運(yùn)算 ,因此 ,研究開發(fā)基于 MATLAB 的測(cè)量平差方法具有極好的應(yīng)用價(jià)值。 MATLAB語言起源于矩陣運(yùn)算 ,并已經(jīng)發(fā)展 成為 一種高度集成的計(jì)算機(jī)語言 ,它提供了強(qiáng)大的科學(xué)運(yùn)算、靈活的程序設(shè)計(jì)流程、高質(zhì)量的圖形可視化與界面設(shè)計(jì)、便捷的與其他程序和語言 接口的功能。 ,經(jīng)常需要根據(jù)工程的實(shí)際情況進(jìn)行一些個(gè)性化的數(shù)值計(jì)算工作,這些數(shù)值計(jì)算工作無固定模式,這就需要求測(cè)量技術(shù)人員最好能熟練掌握一種適用于數(shù)值計(jì)算的程序語言,以便提高測(cè)量計(jì)算的效率。 本文介紹一種基于 MATLAB 的水準(zhǔn)網(wǎng)和測(cè)邊網(wǎng)的程序設(shè)計(jì)方法,與其它算法語言相比,具有編程簡(jiǎn)單,運(yùn)算速度快的特點(diǎn)。 關(guān)鍵詞 : MATLAB; 水準(zhǔn)網(wǎng); 測(cè)邊網(wǎng); 程序設(shè)計(jì) 畢業(yè)設(shè)計(jì) 摘要 2 ABSTRACT MATLAB is one species of numericalvalues calculation and graphic tools software which is widely used to apply at research institutions at present. The particularities are: concise grammarstructure、 highly efficient in numerical values calculating、 plete function of graphs、 especially it is adapted to evildoing professional programmer to acplish the tasks that are numericalvalues calculating and scientific experiments treating. The ancient methods of measured dataprocessing need establishing special proceedings of treating matrices operation, moreover, it is plex and greatly difficult. This article introduces one programming method dealing with leveling a nd measuring edge work based on MATLAB. Compared with other algorithm language, it has particularities which are simply programming and quickly operating. The article separately expatiate the theories basics、 realizing steps and running results at leveling and measuring edge work. With the analysis of examples, it has prodigious application value in measured dataprocessing by use of MATLAB. Moreover, it shortens programming time and improves working effectiveness. Key words: MATLAB; leveling work; measuring edge work; programming 畢業(yè)設(shè)計(jì) 目錄 3 目 錄 緒論 ............................................................. 4 1. MATLAB 軟件簡(jiǎn)介 ................................................ 5 2. MATLAB 在測(cè)量平差中的應(yīng)用 ....................................... 6 測(cè)量平差原理的概述 ................................................ 6 平差程序總體方案 .................................................. 7 3. 水準(zhǔn)網(wǎng)平差程序 …………………………………………………… ……………… … .8 程序的功能 ........................................................ 8 水準(zhǔn)模型網(wǎng)的間接平差 .............................................. 8 “權(quán)”值的確定 ................................................ 8 水準(zhǔn)路線的平差計(jì)算 ............................................ 9 精度評(píng)定 ..................................................... 11 水準(zhǔn)網(wǎng)間接平差程序信息設(shè)計(jì) ....................................... 11 水準(zhǔn)網(wǎng)程序與使用說明 ........................................... 12 水準(zhǔn)網(wǎng)程序流程圖 ............................................ 12 水準(zhǔn)網(wǎng)程序的使用 ............................................ 12 案例 ............................................................ 13 4. 測(cè)邊網(wǎng)平差程序設(shè)計(jì) ............................................ 15 數(shù)學(xué)模型 ..