From db01e1264a89e5a40f1e730d9d80679faf6943f8 Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Thu, 19 Aug 2021 08:00:30 +0100 Subject: workinf dft and fft. Octave test file --- Test/test_fft.m | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Test/test_fft.m (limited to 'Test') 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) -- cgit v1.2.3