CCS編程環(huán)境 使用的是匯編加C的混合編程方法: The programme of the Correlation Algorithm. Using INT2 to get the input signal. Array x, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array y, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array cor is the Correlation result, the length is 255, 32-bit floating point.
標(biāo)簽: Correlation Algorithm programme the
上傳時(shí)間: 2013-12-21
上傳用戶:leixinzhuo
使用C++實(shí)現(xiàn)的Graham掃描法(求解凸包問題),可設(shè)置生成隨機(jī)點(diǎn)的個(gè)數(shù)、樣式,同時(shí)支持設(shè)置顯示范圍、顯示算法處理時(shí)間及使用文件導(dǎo)入導(dǎo)出點(diǎn)等功能。(文件格式為,頭四個(gè)字節(jié)是點(diǎn)的個(gè)數(shù),以后分別是各個(gè)點(diǎn)的x坐標(biāo)和y坐標(biāo),每個(gè)數(shù)值均占4字節(jié))。
標(biāo)簽: Graham
上傳時(shí)間: 2014-11-29
上傳用戶:pompey
精選一個(gè) uC/OS-II Porting 於一般業(yè)界使用之 MSP430F1132 開發(fā)板上任務(wù)調(diào)度的例程,於 app.c 內(nèi)建構(gòu)了一個(gè)可於此開發(fā)板上 Port 1.0 驅(qū)動(dòng) LED 閃爍任務(wù)工程,全例程於 IAR MSP430 V3.42A 下編譯,同時(shí)亦將此工程設(shè)好斷點(diǎn)可方便於 Simulator 內(nèi)直接觀測(cè) uC/OS 任務(wù)調(diào)度狀態(tài).
標(biāo)簽: Porting OS-II F1132 1132
上傳時(shí)間: 2015-12-14
上傳用戶:skfreeman
灰色預(yù)測(cè)GM(1,1)模型的matlab源代碼,包括預(yù)測(cè)模型的建立,以及模型的精度檢驗(yàn)指標(biāo)c,p的計(jì)算
標(biāo)簽: 灰色預(yù)測(cè)
上傳時(shí)間: 2013-12-19
上傳用戶:vodssv
用C++中的MFC編程實(shí)現(xiàn)正軸等角割圓柱投影,實(shí)現(xiàn)以下要求: 取克拉索夫斯基橢球 (1)制圖區(qū)域: Bs=0°, BN=25° LE=105°, LE=125° (2)經(jīng)緯線間隔: ΔB=ΔL=5° (3)制圖比例尺: 1:M0=1:1000 000 (4)標(biāo)準(zhǔn)緯線: Bk=±15° 計(jì)算經(jīng)緯網(wǎng)格點(diǎn)的 x, y,m,n, p
標(biāo)簽: MFC 編程實(shí)現(xiàn) 正 投影
上傳時(shí)間: 2013-12-29
上傳用戶:himbly
加密程序源代碼* A 變成 C,B 變成 D,a 變成 c,b 變成 d,Y 變成 A, * z 變成 b,以此類推。非字母字符不變。
上傳時(shí)間: 2013-12-28
上傳用戶:stvnash
功能:編寫的計(jì)算皮亞諾相關(guān)系數(shù) 開發(fā)語言:ruby 調(diào)用:correlate(x,y) 其中,x,y為需要計(jì)算相關(guān)度的向量 調(diào)用示例: a = [3, 6, 9, 12, 15, 18, 21] b = [1.1, 2.1, 3.4, 4.8, 5.6] c = [1.9, 1.0, 3.9, 3.1, 6.9] c1 = correlate(a,a) # 1.0 c2 = correlate(a,a.reverse) # -1.0 c3 = correlate(b,c) # 0.8221970228 puts c1#,c2,c3
標(biāo)簽: correlate ruby 計(jì)算 12
上傳時(shí)間: 2013-12-18
上傳用戶:skfreeman
Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, viewport or anything indicating quantity or units. Viewport.c Restricts the graph to a viewport and frames the viewport, Viewport.f leaving the remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the viewport edges, but since clipping was Tics.f not set correctly, tics extend outside the viewport. Clip.c Sets clipping such that tic marks are clipped at the viewport Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.
標(biāo)簽: introductory HelloWorld containing Directory
上傳時(shí)間: 2016-03-29
上傳用戶:exxxds
多項(xiàng)式曲線擬合 任意介數(shù) 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.
標(biāo)簽: Least-squares arbitrary Purpose Builder
上傳時(shí)間: 2013-12-18
上傳用戶:宋桃子
實(shí)現(xiàn)最優(yōu)二叉樹的構(gòu)造;在此基礎(chǔ)上完成哈夫曼編碼器與譯碼器。 假設(shè)報(bào)文中只會(huì)出現(xiàn)如下表所示的字符: 字符 A B C D E F G H I J K L M N 頻度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 頻度 63 15 1 48 51 80 23 8 18 1 16 1 6 2 要求完成的系統(tǒng)應(yīng)具備如下的功能: 1.初始化。從終端(文件)讀入字符集的數(shù)據(jù)信息,。建立哈夫曼樹。 2.編碼:利用已建好的哈夫曼樹對(duì)明文文件進(jìn)行編碼,并存入目標(biāo)文件(哈夫曼碼文件)。 3.譯碼:利用已建好的哈夫曼樹對(duì)目標(biāo)文件(哈夫曼碼文件)進(jìn)行編碼,并存入指定的明文文件。 4.輸出哈夫曼編碼文件:輸出每一個(gè)字符的哈夫曼編碼。
上傳時(shí)間: 2014-11-23
上傳用戶:shanml
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1