初級會員
Joined
: 2008/5/1 21:17 最後登入時間
: 2010/1/7 14:39
Group:
註冊會員
Level : 4 HP : 0 / 75 MP : 9 / 3633 EXP : 3
|
我是用曾百由的課本範列18-2做修改,
以下為程式其中一行: /* transform data */ fractional fft_in_real[NUM_SAMPS] = {0x2000, 0, 0, 0, 0, 0, 0, 0,0, 0, 0, 0, 0, 0, 0, 0};
(1)不了解0x2000的意思?
(2)fractional的使用方法?
修改帶入的數值: {8,74,56,11,38,70,49,46,85,75,0,51,16,25,93,58};
程式目的為輸入16筆資料後,顯示於LCD
程式修改後,從0-15筆顯示,
但顯示的數字,為 0: 0.00 0.00 1: 0.00 nan 2: nan 0.00 . . .
發表於: 2009/2/18 16:36
|