From: <car...@us...> - 2012-09-21 12:23:44
|
Revision: 11062 http://octave.svn.sourceforge.net/octave/?rev=11062&view=rev Author: carandraug Date: 2012-09-21 12:23:35 +0000 (Fri, 21 Sep 2012) Log Message: ----------- fir1: fix tests (checked with matlab that it should indeed return a row) 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 2012-09-21 07:39:42 UTC (rev 11061) +++ trunk/octave-forge/main/signal/inst/fir1.m 2012-09-21 12:23:35 UTC (rev 11062) @@ -140,9 +140,9 @@ %!demo %! freqz(fir1(15,[0.2, 0.5], 'stop', 'noscale')); -%!assert(fir1(2, .5, 'low', @hanning, 'scale'), [0 1 0]'); -%!assert(fir1(2, .5, 'low', "hanning", 'scale'), [0 1 0]'); -%!assert(fir1(2, .5, 'low', hanning(3), 'scale'), [0 1 0]'); +%!assert(fir1(2, .5, 'low', @hanning, 'scale'), [0 1 0]); +%!assert(fir1(2, .5, 'low', "hanning", 'scale'), [0 1 0]); +%!assert(fir1(2, .5, 'low', hanning(3), 'scale'), [0 1 0]); %!assert(fir1(10,.5,'noscale'), fir1(10,.5,'low','hamming','noscale')); %!assert(fir1(10,.5,'high'), fir1(10,.5,'high','hamming','scale')); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |