Mercurial > hg > octave-lyh
comparison scripts/polynomial/conv.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 | c08cb1098afc |
comparison
equal
deleted
inserted
replaced
4029:2cc57b6169cf | 4030:22bd65326ec1 |
---|---|
36 | 36 |
37 if (nargin != 2) | 37 if (nargin != 2) |
38 usage ("conv(a, b)"); | 38 usage ("conv(a, b)"); |
39 endif | 39 endif |
40 | 40 |
41 if (! (is_vector (a) && is_vector (b))) | 41 if (! (isvector (a) && isvector (b))) |
42 error("conv: both arguments must be vectors"); | 42 error("conv: both arguments must be vectors"); |
43 endif | 43 endif |
44 | 44 |
45 la = length (a); | 45 la = length (a); |
46 lb = length (b); | 46 lb = length (b); |