summaryrefslogtreecommitdiffstats
path: root/prog/fourier/ldft.c
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-04-23 02:14:48 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-04-23 02:14:48 +0200
commit1bb57cc0ceb60872ab1994015611ee4ceeda6681 (patch)
tree570a845fb6fb2d4697d4bbb5ff8eafeeb1b1a350 /prog/fourier/ldft.c
parentdownload changes to website in directory (diff)
downloadr-1bb57cc0ceb60872ab1994015611ee4ceeda6681.tar
r-1bb57cc0ceb60872ab1994015611ee4ceeda6681.tar.gz
r-1bb57cc0ceb60872ab1994015611ee4ceeda6681.tar.bz2
r-1bb57cc0ceb60872ab1994015611ee4ceeda6681.tar.lz
r-1bb57cc0ceb60872ab1994015611ee4ceeda6681.tar.xz
r-1bb57cc0ceb60872ab1994015611ee4ceeda6681.tar.zst
r-1bb57cc0ceb60872ab1994015611ee4ceeda6681.zip
Diffstat (limited to '')
-rw-r--r--prog/fourier/ldft.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/prog/fourier/ldft.c b/prog/fourier/ldft.c
new file mode 100644
index 0000000..1420bc8
--- /dev/null
+++ b/prog/fourier/ldft.c
@@ -0,0 +1,8 @@
+// lying discrete fourier transformation
+// this has no mathematical proofs behind it
+// key difference is that it operates in a sliding window mode without holding the window buffer itself
+// instead it works in a faucet way, with a single scalar complex state for every frequency that you want to monitor stored and operates with this state one sample at a time
+// absolute value of the state directly correlates with freqency domain ordinate value
+// temelji na diskretni fourierjevi transformaciji in na weighted moving average
+// namesto izhodnega vektorja ob množenju ...
+// nvm najprej bom poizkusil narediti dft po krščansko, potem se bomo šli glupe optimizacije