多項式曲線擬合 任意介數 Purpose - Least-squares curve fit of arbitrary order working in C++ Builder 2007 as a template class, using vector<FloatType> parameters. Added a method to handle some EMathError exceptions. If do NOT want to use this just call PolyFit2 directly. usage: Call PolyFit by something like this. CPolyFit<double> PolyFitObj double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A) where X and Y are vectors of doubles which must have the same size and A is a vector of doubles which must be the same size as the number of coefficients required. returns: The correlation coefficient or -1 on failure. produces: A vector (A) which holds the coefficients.
標簽: Least-squares arbitrary Purpose Builder
上傳時間: 2013-12-18
上傳用戶:宋桃子
在了解實時嵌入式操作系統內存管理機制的特點以及實時處理對內存管理需求的基礎上,練習并掌握有效處理內存碎片的內存管理機制,同時理解防止內存泄漏問題的良好設計方法。使用預先規劃的思想,構建自己的私有內存管理機制,在系統內存池中申請內存,并將其納入私有內存管理機制中,形成靜態預分配內存池; 靜態預分配內存池支持一種以上固定長度內存池,如16 字節內存池和256 字節內存池。固定長度內存池的單塊長度應考慮體系結構開銷,并盡量減少內部碎片;固定長度內存池數量應可配置; 靜態預分配內存池與系統內存池的統一管理機制。向用戶分配內存時應保證長度最佳匹配原則。當申請內存的長度超過靜態預分配長度或資源不足時,自動向系統內存池申請; 管理機制包括: a) 初 始化函數; b) 內 存申請/釋放函數。并特別要保證釋放安全; c) 告 警機制; d) 管 理監視機制。 5. 利用可能的互斥機制或代碼可重入設計,保證以上管理機制的操作安全性; 6. 創建多Task 環境測試及演示以上內容
上傳時間: 2016-04-12
上傳用戶:lizhen9880
使用單片機控制兩片串行A/D芯片TLC5615輸出字模電壓值,分別接入模擬示波器的X、Y通道,示波器在雙蹤模式下就可以顯示單片機輸出的字符
上傳時間: 2013-12-24
上傳用戶:古谷仁美
本程序是用于WGS-84向北京1954坐標系轉換的。要想進行轉換需要至少3個控制點。這些后,程序通過轉換參量計算待轉換點在北京1954坐標系中的空間直角坐標。然后將空間直角坐標轉換成大地坐標,最后再將大地坐事本文件中。首先將控制點數據保存在一個記事本文件中。在此文件中每行對應一個控制點的信息,按先北京1954坐標系X、Y、Z再WGS-84坐標系X、Y、Z,每個數據用空格分開。然后將要輸入的待轉換點坐標寫入令一個記事本文件,本程序可同時計算多個待轉換點數據,在記事本中每行保存一個待轉換點數據
上傳時間: 2013-12-14
上傳用戶:Amygdala
巴克碼生成與測試電路。 當計數脈沖不斷進入由Q3Q2Q1組成的三位二進制異步計數器時,3-8譯碼器的8個輸出經反相器后順序輸出高電平。其中五路信號經“或非”后再和其中3路“或”,在Y端便可順序產生11000100代碼序列。
上傳時間: 2016-04-18
上傳用戶:極客
可以通過向電子指南針模組發送不同的命令字,得到X 軸和Y 軸磁性傳感器的測量值,經過計算可 以得到電子指南針模組與正北方向的順時針夾角。
上傳時間: 2014-01-21
上傳用戶:水口鴻勝電器
電源:穩壓的+5V電源,電流小于300mA。 視頻輸入:RGB+HSYNC+VSYNC信號,取自VGA卡,刷新率與NTSC標準兼容。 視頻輸出:混合視頻和S-視頻(Y/C)。 支持的視頻標準:PAL B、G、H和NTSCM。 電路要求VGA卡能發送與PAL或NTSC標準視頻時序兼容的RGB格式視頻信號。
上傳時間: 2014-11-22
上傳用戶:zhuyibin
PlotSphereIntensity(azimuth, elevation) PlotSphereIntensity(azimuth, elevation, intensity) h = PlotSphereIntensity(...) Plots the intensity (as color) of a number of points on a unit sphere. Input: azimuth (phi), in degrees elevation (theta), in degrees intensity (optional, if not provided, a green sphere is produced) All inputs must be vectors or matrices of the same size. Data does not have to be evenly spaced. When there aren t enough points to draw a smooth sphere, additional points (with color) are interpolated. Output: h - a handle to the patch object The axes are also plotted: positive x axis is red positive y axis is green positive z axis is blue
標簽: PlotSphereIntensity elevation azimuth intensity
上傳時間: 2014-01-15
上傳用戶:ruan2570406
runs Kalman-Bucy filter over observations matrix Z for 1-step prediction onto matrix X (X can = Z) with model order p V = initial covariance of observation sequence noise returns model parameter estimation sequence A, sequence of predicted outcomes y_pred and error matrix Ey (reshaped) for y and Ea for a along with inovation prob P = P(y_t | D_t-1) = evidence
標簽: matrix observations Kalman-Bucy prediction
上傳時間: 2016-04-28
上傳用戶:huannan88
這是一個圖形變換的程序,按字母“Y”畫一個用點組成的圓;按字母“S”畫一 個用不同顏色填充的三角形;按字母“Z”畫一個用不同顏色填充且帶有邊框圖案 的矩形;按“q”鍵退出。
上傳時間: 2016-04-30
上傳用戶:一諾88