Mercurial > hg > octave-nkf
comparison scripts/polynomial/conv.m @ 6046:34f96dd5441b
[project @ 2006-10-10 16:10:25 by jwe]
author | jwe |
---|---|
date | Tue, 10 Oct 2006 16:10:31 +0000 |
parents | 2618a0750ae6 |
children | 93c65f2a5668 |
comparison
equal
deleted
inserted
replaced
6045:421d8a903df7 | 6046:34f96dd5441b |
---|---|
33 ## Adapted-By: jwe | 33 ## Adapted-By: jwe |
34 | 34 |
35 function y = conv (a, b) | 35 function y = conv (a, b) |
36 | 36 |
37 if (nargin != 2) | 37 if (nargin != 2) |
38 usage ("conv(a, b)"); | 38 print_usage (); |
39 endif | 39 endif |
40 | 40 |
41 if (! (isvector (a) && isvector (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 |