diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-04-23 02:14:48 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-04-23 02:14:48 +0200 |
commit | 1bb57cc0ceb60872ab1994015611ee4ceeda6681 (patch) | |
tree | 570a845fb6fb2d4697d4bbb5ff8eafeeb1b1a350 /prog/fourier/ldft.c | |
parent | download changes to website in directory (diff) | |
download | r-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 'prog/fourier/ldft.c')
-rw-r--r-- | prog/fourier/ldft.c | 8 |
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 |