Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Convolution matrix

`A = convmtx(h,n)`

`A = convmtx(h,n)`

returns the
convolution matrix, `A`

, such that the product of `A`

and
a vector, `x`

, is the convolution of `h`

and `x`

.

If

`h`

is a column vector of length`m`

,`A`

is`(m+n-1)`

-by-`n`

and the product of`A`

and a column vector,`x`

, of length`n`

is the convolution of`h`

and`x`

.If

`h`

is a row vector of length`m`

,`A`

is`n`

-by-`(m+n-1)`

and the product of a row vector,`x`

, of length`n`

with`A`

is the convolution of`h`

and`x`

.

`convmtx`

handles edge conditions
by zero padding.

Was this topic helpful?