diff options
author | FreeArtMan <dos21h@gmail.com> | 2021-07-09 21:29:42 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2021-07-09 21:29:42 +0100 |
commit | a10c422839d5df0627642e6eaf77e0263dafcebe (patch) | |
tree | 4b4bfb7754de01ee5ab013337d1196855b978eac /md/writeup | |
parent | 98c141acc95bf183b4231c270aded680f7105b9f (diff) | |
download | md-content-a10c422839d5df0627642e6eaf77e0263dafcebe.tar.gz md-content-a10c422839d5df0627642e6eaf77e0263dafcebe.zip |
Add mathjax.js
Diffstat (limited to 'md/writeup')
-rw-r--r-- | md/writeup/dsp_lp_filter.md | 59 |
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>∑</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++) |