Mercurial > hg > octave-lyh
diff scripts/signal/fftconv.m @ 4030:22bd65326ec1
[project @ 2002-08-09 18:58:13 by jwe]
author | jwe |
---|---|
date | Fri, 09 Aug 2002 19:00:16 +0000 |
parents | e031284eea27 |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/scripts/signal/fftconv.m +++ b/scripts/signal/fftconv.m @@ -38,7 +38,7 @@ usage ("fftconv (b, x, N)"); endif - if (! (is_vector (a) && is_vector (b))) + if (! (isvector (a) && isvector (b))) error ("fftconv: both a and b should be vectors"); endif la = length (a); @@ -52,7 +52,7 @@ if (nargin == 2) c = fftfilt (a, b); else - if (! (is_scalar (N))) + if (! (isscalar (N))) error ("fftconv: N has to be a scalar"); endif c = fftfilt (a, b, N);