summaryrefslogtreecommitdiff
path: root/md/writeup
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2021-07-09 21:29:42 +0100
committerFreeArtMan <dos21h@gmail.com>2021-07-09 21:29:42 +0100
commita10c422839d5df0627642e6eaf77e0263dafcebe (patch)
tree4b4bfb7754de01ee5ab013337d1196855b978eac /md/writeup
parent98c141acc95bf183b4231c270aded680f7105b9f (diff)
downloadmd-content-a10c422839d5df0627642e6eaf77e0263dafcebe.tar.gz
md-content-a10c422839d5df0627642e6eaf77e0263dafcebe.zip
Add mathjax.js
Diffstat (limited to 'md/writeup')
-rw-r--r--md/writeup/dsp_lp_filter.md59
1 files changed, 14 insertions, 45 deletions
diff --git a/md/writeup/dsp_lp_filter.md b/md/writeup/dsp_lp_filter.md
index 17b8c52..856c44b 100644
--- a/md/writeup/dsp_lp_filter.md
+++ b/md/writeup/dsp_lp_filter.md
@@ -125,51 +125,20 @@ __FIR Filter__
Applying filter coefficients to input signal, place where filtering is happening.
-<!-- begin MathToWeb -->
-<!-- (your LaTeX) $y(n)=\sum_{k=0}^{N-1}{h(k)x(n-k)}$ -->
-<math xmlns="http://www.w3.org/1998/Math/MathML">
-<mrow>
- <mi>y</mi>
- <mrow>
- <mo form="prefix">(</mo>
- <mi>n</mi>
- <mo form="postfix">)</mo>
- </mrow>
- <mo>=</mo>
- <mstyle displaystyle="true">
- <munderover>
- <mo>&#x02211;</mo>
- <mrow>
- <mi>k</mi>
- <mo>=</mo>
- <mn>0</mn>
- </mrow>
- <mrow>
- <mi>N</mi>
- <mo>-</mo>
- <mn>1</mn>
- </mrow>
- </munderover>
- </mstyle>
- <mrow>
- <mi>h</mi>
- <mrow>
- <mo form="prefix">(</mo>
- <mi>k</mi>
- <mo form="postfix">)</mo>
- </mrow>
- <mi>x</mi>
- <mrow>
- <mo form="prefix">(</mo>
- <mi>n</mi>
- <mo>-</mo>
- <mi>k</mi>
- <mo form="postfix">)</mo>
- </mrow>
- </mrow>
-</mrow>
-</math>
-<!-- end MathToWeb -->
+<script>
+MathJax = {
+ tex: {
+ inlineMath: [['$', '$'], ['\\(', '\\)']]
+ }
+};
+</script>
+
+<script type="text/javascript" id="MathJax-script" async
+ src="/js/tex-chtml.js">
+</script>
+
+$$y(n) = \sum_{k=0}^{N-1}h(k)x(n-k) $$
+
```c
for (k=0;k<filter_length;k++)