summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2023-02-03 14:57:02 +0000
committerFreeArtMan <dos21h@gmail.com>2023-02-03 14:57:02 +0000
commitce20476622cf0442690b94284352e290f912d23c (patch)
treee800eb9abe1c4b16cda00148391167225b037fec
parent51e6cef5d338c8ea74572f44c92dab9c0ac13dda (diff)
downloadmd-content-ce20476622cf0442690b94284352e290f912d23c.tar.gz
md-content-ce20476622cf0442690b94284352e290f912d23c.zip
Update the fft post for styling
-rw-r--r--md/writeup/naive_fft_implementation_in_c.md25
1 files changed, 13 insertions, 12 deletions
diff --git a/md/writeup/naive_fft_implementation_in_c.md b/md/writeup/naive_fft_implementation_in_c.md
index 0008483..d54dd05 100644
--- a/md/writeup/naive_fft_implementation_in_c.md
+++ b/md/writeup/naive_fft_implementation_in_c.md
@@ -12,12 +12,11 @@ MathJax = {
}
};
</script>
-
<script type="text/javascript" id="MathJax-script" async
src="/js/tex-chtml.js">
</script>
<script src="/demo/naive_fft/index.js"></script>
- <script type='text/javascript'>
+<script type='text/javascript'>
var Module = {};
fetch('/demo/naive_fft/index.wasm')
.then(response =>
@@ -122,9 +121,7 @@ MathJax = {
} //end onload
document.body.appendChild(script);
});
-
-
- </script>
+</script>
Time to implement DFT/FFT by myself. Just followed Ifeachor book on theory part and
IOWA FFT source on implementation side.
@@ -328,11 +325,15 @@ Here hookedup demo of compiled wasm fft code location of demo source http://git.
Two boxes for input and two boxes for output. Values set as vectors of complex numbers. First box for real
part, second box for imaginary part or in case of DSP IQ sample values.
-Input I:<textarea class="inputDataI">1 1 0</textarea><sup class="inputDataIerr"></sup>
-Input Q:<textarea class="inputDataQ">0 0 0</textarea><sup class="inputDataQerr"></sup>
-Output I:<textarea class="outputDataI"></textarea>
-Output Q:<textarea class="outputDataQ"></textarea>
-<button id="calcButton" type="button">Cals</button>
+
+Input I:
+<textarea class="inputDataI">1 1 0</textarea><sup class="inputDataIerr"></sup></br>
+Input Q:
+<textarea class="inputDataQ">0 0 0</textarea><sup class="inputDataQerr"></sup></br>
+Output I:
+<textarea class="outputDataI"></textarea></br>
+Output Q:
+<textarea class="outputDataQ"></textarea></br><button id="calcButton" type="button">Cals</button>
### Source
@@ -341,7 +342,7 @@ Source located in main branch of git repo
Browse source http://git.main.lv/cgit.cgi/NaiveFFT.git
-```
+```bash
git clone http://git.main.lv/cgit.cgi/NaiveFFT.git
git checkout main
```
@@ -350,7 +351,7 @@ git checkout main
#### Linux
-```
+```bash
cd NaiveFFT/Build
make
```