//在tc3.0++在運行
//a數組用于隨機產生1-6數表示每個方格后面的圖形.用inita()函數來實現
//c數組用于記錄方格的狀態,用字符L(lock)表示沒有打開的方格
//D(delete)表示已消去的方格.O(open)表示打開的方格.
//變量m表示按回車鍵的有效次數.也是記憶力參數,越小記憶力越好
//變量xpos,ypos用于表示當前光標所在的位置
//(x1,y1),(x2,y2)用于記錄打開的兩個方格的位置
//judge()函數用于控制光標范圍,使其不能移出長方形
//win()函數用于判斷游戲是否過關,通過判斷每個方格是否全是 D 狀態
//xago,yago 用于記錄移動前的位置
//ax,ay表示行列式的行與列,用它們來控制游戲的關數,ax位于3-6之間,ay位于4-7之間
//z來控制方格后的圖形
//第一關后面的圖形用1-6代表的圖形.第二關后面的圖形用0-9十個數。第三關后面的圖形用A-O十五個字母,
//第四關后面的圖形用A-T二十一個字母
標簽:
inita
lock
3.0
數組
上傳時間:
2015-06-19
上傳用戶:hgy9473
CCS編程環境 使用的是匯編加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