Mercurial > hg > octave-lyh
comparison scripts/polynomial/deconv.m @ 2716:2b5c27299cde
[project @ 1997-02-22 08:40:55 by jwe]
author | jwe |
---|---|
date | Sat, 22 Feb 1997 08:44:22 +0000 |
parents | b5568c31ee2c |
children | 8b262e771614 |
comparison
equal
deleted
inserted
replaced
2715:df8c732b4fb2 | 2716:2b5c27299cde |
---|---|
39 | 39 |
40 if (nargin != 2) | 40 if (nargin != 2) |
41 usage ("deconv (y, a)"); | 41 usage ("deconv (y, a)"); |
42 endif | 42 endif |
43 | 43 |
44 if (is_matrix (y) || is_matrix (a)) | 44 if (! (is_vector (y) && is_vector (a))) |
45 error("conv: both arguments must be vectors"); | 45 error("conv: both arguments must be vectors"); |
46 endif | 46 endif |
47 | 47 |
48 la = length (a); | 48 la = length (a); |
49 ly = length (y); | 49 ly = length (y); |