Mercurial > hg > octave-lyh
diff scripts/signal/fftfilt.m @ 3457:e031284eea27
[project @ 2000-01-19 08:49:56 by jwe]
author | jwe |
---|---|
date | Wed, 19 Jan 2000 08:50:14 +0000 |
parents | 858695b3ed62 |
children | 9652abf2c297 |
line wrap: on
line diff
--- a/scripts/signal/fftfilt.m +++ b/scripts/signal/fftfilt.m @@ -66,7 +66,7 @@ y = ifft (fft (x, N) .* fft(b, N)); else ## Use overlap-add method ... - if !(is_scalar (N)) + if (! (is_scalar (N))) error ("fftfilt: N has to be a scalar"); endif N = 2^(ceil (log (max ([N, l_b])) / log(2))); @@ -85,7 +85,7 @@ y = reshape (y(1:l_x), r_x, c_x); - ## Final cleanups: if both x and b are real respectively integer, y + ## Final cleanups: if both x and b are real respectively integer, y ## should also be if (! (any (imag (x)) || any (imag (b))))