summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/test_fft.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/Test/test_fft.m b/Test/test_fft.m
new file mode 100644
index 0000000..4a11a09
--- /dev/null
+++ b/Test/test_fft.m
@@ -0,0 +1,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)