blob: 4a11a09aac49e9716c9987ef55edd48039f880ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
data1 = [1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0]
res1 = fft(data1)
data2 = [1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0]
res2 = fft(data2)
data3 = [1.0 1.0 i i 0.0 0.0 0.0 0.0]
res3 = fft(data3)
data4 = [1.0+i 1.0+i 1.0+i 1.0+i 0.0 0.0 0.0 0.0]
res4 = fft(data4)
|