summaryrefslogtreecommitdiff
path: root/md/writeup
diff options
context:
space:
mode:
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++)