最小二乘法曲線擬合 作者:佚名 文章來源:不詳 點(diǎn)擊數(shù):164 更新時(shí)間:2006-1-4 【字體:小 大】【發(fā)表評論】【加入收藏】【告訴好友】【打印此文】【關(guān)閉窗口】 //最小二乘法曲線擬合 typedef CArray<double,double>CDoubleArray BOOL CalculateCurveParameter(CDoubleArray *X,CDoubleArray *Y,long M,long N,CDoubleArray *A) { //X,Y -- X,Y兩軸的坐標(biāo) //M -- 結(jié)果變量組數(shù) //N -- 采樣數(shù)目 //A -- 結(jié)果參數(shù) 文章錄入:admin 責(zé)任編輯:admin
上傳時(shí)間: 2014-01-24
上傳用戶:liansi
Rotating shafts experience a an elliptical motion called whirl. It is important to decompose this motion into a forward and backward whil orbits. The current function makes use of two sensors to generate a bi-directional spectrogram. The method can be extended to any time-frequency distribution % % compute the forward/backward Campbell/specgtrogram % % INPUT: % y (n x 2) each column is measured from a different sensor % /////// % __ % |s1| y(:,1) % |__| % __ % / \ ________|/ % | | | s2 |/ y(:,2) % \____/ --------|/ % % Fs Sampling frequnecy % % OUTPUT: % B spectrogram/Campbel diagram % x x-axis coordinate vector (time or Speed) % y y-axis coordinate vector (frequency [Hz])
標(biāo)簽: experience elliptical decompose important
上傳時(shí)間: 2015-06-23
上傳用戶:372825274
暫時(shí)只支持jpeg2000支持的 cdf97 和spline53 可以這樣來測試: x=imread( E:\study\jpeg2000\images\lena.tif ) % see the decomposition coefficients y=wavelift(x, 1, spl53 ) using spline 5/3 wavelet figure subplot(1,2,1) imshow(x) subplot(1,2,2) imshow(mat2gray(y)) % see the reconstruction precision yy=wavelift(x, 5) using cdf 9/7 wavelet ix=wavelift(yy,-5) inverse sum(sum((double(x)-ix).^2))
標(biāo)簽: 2000 imageslena studyjpeg imread
上傳時(shí)間: 2014-01-14
上傳用戶:懶龍1988
使用pso求最小化一函數(shù) matlab程式碼,寫的非常簡潔(不到100行),且還包括了2維的圖形展示,和大家分享參考!!! 一起學(xué)習(xí)matlab和各種optimize methods 最小化:(x-15)^2+(y-20)^2 The swarm matrix is swarm(index, [location, velocity, best position, best value], [x, y components or the value component]) Author: Wesam ELSHAMY (wesamelshamy@yahoo.com) MSc Student, Electrical Enginering Dept., Faculty of Engineering Cairo University, Egypt
上傳時(shí)間: 2013-12-18
上傳用戶:zhaiye
首先定義一個(gè)點(diǎn)類Point,其私有成員為其坐標(biāo)X,Y。設(shè)計(jì)構(gòu)造函數(shù),拷貝構(gòu)造函數(shù),析構(gòu)函數(shù)(可以什么都不做,只打印信息,表示其被調(diào)用),設(shè)置新值函數(shù)Set, 打印成員值函數(shù)Print。再定義一個(gè)線類Line,線類是在公有繼承點(diǎn)類的基礎(chǔ)上,新增私有成員斜率S,并設(shè)計(jì)構(gòu)造函數(shù),拷貝構(gòu)造函數(shù),析構(gòu)函數(shù)(可以什么都不做,只打印信息,表示其被調(diào)用),設(shè)置新值函數(shù)Set, 打印成員值函數(shù)Print以及其它你認(rèn)為對訪問此Line類對象有用的成員函數(shù)。并用此Line類定義對象,調(diào)用所有成員函數(shù)。尤其是考察構(gòu)造函數(shù)的調(diào)用順序。
上傳時(shí)間: 2015-07-07
上傳用戶:xfbs821
本書第二部分講述的是在Wi n 3 2平臺(tái)上的Wi n s o c k編程。對于眾多的基層網(wǎng)絡(luò)協(xié)議, Wi n s o c k是訪問它們的首選接口。而且在每個(gè)Wi n 3 2平臺(tái)上,Wi n s o c k都以不同的形式存在著。 Wi n s o c k是網(wǎng)絡(luò)編程接口,而不是協(xié)議。它從U n i x平臺(tái)的B e r k e l e y(B S D)套接字方案借鑒了 許多東西,后者能訪問多種網(wǎng)絡(luò)協(xié)議。在Wi n 3 2環(huán)境中,Wi n s o c k接口最終成為一個(gè)真正的 “與協(xié)議無關(guān)”接口,尤其是在Winsock 2發(fā)布之后。
標(biāo)簽: 分 編程 網(wǎng)絡(luò)協(xié)議
上傳時(shí)間: 2015-07-08
上傳用戶:thinode
一個(gè)完整的VB.NET tapi3.0 程序,包含自動(dòng)應(yīng)答,Incoming,Outgoing,外撥。
上傳時(shí)間: 2013-12-14
上傳用戶:mhp0114
此為手柄的測試程式,在網(wǎng)路上找到的!應(yīng)該對大家不錯(cuò)!
上傳時(shí)間: 2013-12-16
上傳用戶:ynzfm
設(shè)計(jì)有理數(shù)類rational_number 數(shù)據(jù)成員: int numerator(分子) int denominator(分母) 成員函數(shù) (1)構(gòu)造函數(shù)rational_number ()和rational_number (int x, int y) (2)拷貝構(gòu)造函數(shù) (3) 重載運(yùn)算符“+”、“-”、“*”和“/” 2. 設(shè)計(jì)有理數(shù)類rational_number 數(shù)據(jù)成員: int numerator(分子) int denominator(分母) 成員函數(shù) (1)構(gòu)造函數(shù)rational_number ()和rational_number (int x, int y) (2)拷貝構(gòu)造函數(shù) 友元重載運(yùn)算符“+”、“-”、“*”和“/” 3. 分別使用以上兩個(gè)類,完成有理數(shù)的加、減、乘、除運(yùn)算;驗(yàn)證其加運(yùn)算、乘運(yùn)算的交換律。
標(biāo)簽: 61656 rational_number denominator int
上傳時(shí)間: 2014-11-04
上傳用戶:caiiicc
//=== === === === === === === === === === === ===== //函數(shù)說明 //函數(shù)名稱:Correlation //函數(shù)功能:計(jì)算最小二乘法擬合的多項(xiàng)式的相關(guān)系數(shù) //使用方法:int M------ 擬合多項(xiàng)式的階數(shù)(已知條件) // double *b--- 擬合曲線的系數(shù),排列順序?yàn)橛筛唠A到低階(已知條件) // double *x--- 結(jié)點(diǎn)x軸數(shù)據(jù)(已知條件) // double *y--- 結(jié)點(diǎn)y軸數(shù)據(jù)(已知條件) // double *Yg-- 結(jié)點(diǎn)估計(jì)值,個(gè)數(shù)為m(過程變量) // int m------ 結(jié)點(diǎn)個(gè)數(shù)(已知條件) //注意事項(xiàng):多項(xiàng)式階數(shù)最高為10,多項(xiàng)式的形式為 y = a0 + a1x +a2x2
標(biāo)簽: Correlation 函數(shù) 計(jì)算 最小二乘法擬合
上傳時(shí)間: 2013-11-26
上傳用戶:change0329
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1