summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fourier_frequency_removal.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/fourier_frequency_removal.m b/fourier_frequency_removal.m
new file mode 100644
index 0000000..c2a378d
--- /dev/null
+++ b/fourier_frequency_removal.m
@@ -0,0 +1,5 @@
+[p, q] = get_products();
+
+A = fft(sum(q'));
+A = A .* (1 - (abs(A) >5000) .* (abs(A) < 20000));
+plot(sum(q'), '-ob',real(ifft(A)),'-or');