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.
標簽: Correlation Algorithm programme the
上傳時間: 2013-12-21
上傳用戶:leixinzhuo
crc任意位生成多項式 任意位運算 自適應算法 循環(huán)冗余校驗碼(CRC,Cyclic Redundancy Code)是采用多項式的 編碼方式,這種方法把要發(fā)送的數(shù)據(jù)看成是一個多項式的系數(shù) ,數(shù)據(jù)為bn-1bn-2…b1b0 (其中為0或1),則其對應的多項式為: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:數(shù)據(jù)“10010101”可以寫為多項式 X7+X4+X2+1。 循環(huán)冗余校驗CRC 循環(huán)冗余校驗方法的原理如下: (1) 設(shè)要發(fā)送的數(shù)據(jù)對應的多項式為P(x)。 (2) 發(fā)送方和接收方約定一個生成多項式G(x),設(shè)該生成多項式 的最高次冪為r。 (3) 在數(shù)據(jù)塊的末尾添加r個0,則其相對應的多項式為M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),獲得商Q(x)和余式R(x),則 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2運算,T(x)所對應的數(shù)據(jù)是在原數(shù) 據(jù)塊的末尾加上余式所對應的數(shù)據(jù)得到的。 (6) 發(fā)送T(x)所對應的數(shù)據(jù)。 (7) 設(shè)接收端接收到的數(shù)據(jù)對應的多項式為T’(x),將T’(x)除以G(x) ,若余式為0,則認為沒有錯誤,否則認為有錯
上傳時間: 2014-01-16
上傳用戶:hphh
Kiss FFT is a small and simple FFT library. It has no complicated platform-specific optimizations, can do either fixed or floating point with just a recompile, and is efficient enough for all but the most demanding applications.
標簽: platform-specific optimizations complicated FFT
上傳時間: 2016-04-07
上傳用戶:h886166
用游標的方法實現(xiàn)對稱差的計算,即 (A-B)+(B-A)
上傳時間: 2016-05-23
上傳用戶:遠遠ssad
The CoinUtils project is a collection of open-source utilities developed and used by a variety of other projects in the COIN-OR repository. The project includes classes for storing and manipulating sparse matrices and vectors, performing matrix factorization, parsing input files in standard formats, building representations of mathematical programs, comparing floating point numbers with a tolerance, performing simple presolve operations, and warm starting algorithms for mathematical programs, among others.
標簽: open-source collection CoinUtils developed
上傳時間: 2013-12-19
上傳用戶:xmsmh
詞法分析器 對輸入一個函數(shù),并對其分析main() { int a,b a = 10 b = a + 20 }
上傳時間: 2013-12-20
上傳用戶:hfmm633
基因算法,用VC++或MATLAB,java等工具設(shè)計一程序計算任一個隨機產(chǎn)生的DNA基因表達式的有效長度和值 設(shè)隨機產(chǎn)生的基因表達式為: + Q - / b * b a Q b a a b a a b b a a a b
上傳時間: 2014-01-09
上傳用戶:aa54
函數(shù)再現(xiàn)機構(gòu)設(shè)計 試設(shè)計一曲柄搖桿機構(gòu),再現(xiàn)函數(shù) 要求: 輸入構(gòu)件的轉(zhuǎn)角范圍180°,輸出構(gòu)件擺角范圍30°,即: 當輸入構(gòu)件從a轉(zhuǎn)至a+90時,輸出構(gòu)件從b轉(zhuǎn)至b+30 當輸入構(gòu)件從a+90轉(zhuǎn)至a+180時,輸出構(gòu)件從b+30轉(zhuǎn)至b
上傳時間: 2013-12-17
上傳用戶:英雄
This sample displays a basic integer calculator powered by the 8051 microcontroller. Although Keil C51 has a full floating point math library the evaluation version is restricted to 2k of object code, so we have constrained this sample to integer maths in order to fit within this limit. The program for this design was written in C using the Keil uVision 2 IDE for which Proteus VSM provides a Debug Monitor driver. Instructions for configuring Proteus to run in conjunction with the Keil environment can be found by editing the 8051 microcontroller on the schematic (point at it and press CTRL-E) and then clicking on the help button on the Edit Component dialogue form.
標簽: microcontroller calculator Although displays
上傳時間: 2014-12-01
上傳用戶:edisonfather
The GNU MP Bignum Library,非常好用的大數(shù)運算庫,GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers.
上傳時間: 2014-01-08
上傳用戶:a673761058
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1