changeset 532:e6a33577508f

rho_filter: use hanning() from core instead of hann() from signal package
author carandraug
date Mon, 23 Jan 2012 21:32:37 +0000
parents bbb489cdc61a
children 154ffb5d4efe
files inst/rho_filter.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/inst/rho_filter.m
+++ b/inst/rho_filter.m
@@ -124,7 +124,7 @@
   elseif (strcmpi (type, 'hamming'))
     filt = fftshift (hamming (length (rho)));
   elseif (strcmpi (type, 'hann'))
-    filt = fftshift (hann (length (rho)));
+    filt = fftshift (hanning (length (rho)));
   elseif (strcmpi (type, 'cosine'))
     f = 0.5 * (0:length (rho) - 1)' / length (rho);
     filt = fftshift (sin (2 * pi * f));