Mercurial > hg > octave-nkf
diff scripts/signal/fftconv.m @ 2325:b5568c31ee2c
[project @ 1996-07-15 22:20:21 by jwe]
author | jwe |
---|---|
date | Mon, 15 Jul 1996 22:20:21 +0000 |
parents | 5ca126254d15 |
children | c51575839b21 |
line wrap: on
line diff
--- a/scripts/signal/fftconv.m +++ b/scripts/signal/fftconv.m @@ -20,7 +20,7 @@ ## usage: fftconv (a, b [, N]) ## ## c = fftconv (a, b) returns the convolution of the vectors a and b, -## a vector with length equal to length (a) + length (b) - 1. +## a vector with length equal to length (a) + length (b) - 1. ## If a and b are the coefficient vectors of two polynomials, c is ## the coefficient vector of the product polynomial. ## @@ -36,7 +36,7 @@ if (nargin < 2 || nargin > 3) usage ("fftconv (b, x [, N])"); endif - + if (is_matrix (a) || is_matrix (b)) error ("fftconv: both a and b should be vectors"); endif