Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /fourier/dstiii.m [8c7887] .. [636453] Maximize Restore

  Switch to side-by-side view

--- a/fourier/dstiii.m
+++ b/fourier/dstiii.m
@@ -26,16 +26,16 @@
 %N    w = [1 1 1 1 ... 1/sqrt(2)]
 %L    \[w\left(n\right)=\begin{cases}\frac{1}{\sqrt{2}} & \text{if }n=L-1\\1 & \text{otherwise}\end{cases}\]
 %   Then 
-%M
+%
 %M                         L-1
 %M    c(n+1) = sqrt(2/L) * sum w(n+1)*f(m+1)*sin(pi*(n+.5)*m/L) 
 %M                         m=0 
 %F  \[
 %F  c\left(n+1\right)=\sqrt{\frac{2}{L}}\sum_{m=0}^{L-1}w\left(n\right)f\left(m+1\right)\sin\left(\frac{\pi}{L}\left(n+\frac{1}{2}\right)m\right)
 %F  \]
-%M
+%
 %   See also:  dctii, dstii, dstiv
-%M
+%
 %R  rayi90 wi94
   
 %   AUTHOR: Peter Soendergaard