Diff of /inst/rectwin.m [b50281] .. [d4a496]  Maximize  Restore

Switch to side-by-side view

--- a/inst/rectwin.m
+++ b/inst/rectwin.m
@@ -14,14 +14,14 @@
 ## this program; if not, see <http://www.gnu.org/licenses/>.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} {[@var{w}] =} rectwin (@var{L})
-## Return the filter coefficients of a rectangle window of length @var{L}.
+## @deftypefn {Function File} {[@var{w}] =} rectwin (@var{m})
+## Return the filter coefficients of a rectangle window of length @var{m}.
 ## @seealso{hamming, hanning}
 ## @end deftypefn
 
-function w = rectwin(L)
+function w = rectwin(m)
 
   if (nargin < 1); print_usage; endif
-  w = ones(round(L),1);
+  w = ones(round(m),1);
 
 endfunction

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks