diff options
Diffstat (limited to 'macros/convmtx.sci')
-rw-r--r-- | macros/convmtx.sci | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/macros/convmtx.sci b/macros/convmtx.sci index c1f0109..43a491c 100644 --- a/macros/convmtx.sci +++ b/macros/convmtx.sci @@ -2,15 +2,11 @@ function b = convmtx (a, n) //Calling sequence: //b=convmtx(a,n); //convmtx(a,n); - //This function returns the convolution matrix 'b'. //If 'a' is a column vector and if we need the convolution of 'a' with another column vector 'x' of length 'n' then an operation "convmtx(a,n)*x" yeilds the convoluted sequence much faster. - //Similarily, if 'a' is a row vector then to convolve with another row vector 'x' of length n , then convoluted sequence can be obtained by //x*convmtx(a,n) - - [nargout,nargin]=argn(); if (nargin ~= 2) error("wrong number of input arguments"); |