From: <sch...@us...> - 2010-07-02 14:18:46
|
Revision: 7463 http://octave.svn.sourceforge.net/octave/?rev=7463&view=rev Author: schloegl Date: 2010-07-02 14:18:40 +0000 (Fri, 02 Jul 2010) Log Message: ----------- support of 'bandpass' argument Modified Paths: -------------- trunk/octave-forge/main/signal/inst/fir1.m Modified: trunk/octave-forge/main/signal/inst/fir1.m =================================================================== --- trunk/octave-forge/main/signal/inst/fir1.m 2010-07-01 16:21:06 UTC (rev 7462) +++ trunk/octave-forge/main/signal/inst/fir1.m 2010-07-02 14:18:40 UTC (rev 7463) @@ -66,11 +66,11 @@ ## sort arglist, normalize any string for i=1:length(varargin) arg = varargin{i}; - if ischar(arg), arg=tolower(arg);end + if ischar(arg), arg=lower(arg);end if isempty(arg) continue; end # octave bug---can't switch on [] switch arg case {'low','stop','dc-1'}, ftype = 1; - case {'high','pass','dc-0'}, ftype = 0; + case {'high','pass','bandpass','dc-0'}, ftype = 0; case 'scale', scale = 1; case 'noscale', scale = 0; otherwise window = arg; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |