Member of the filter implementation class.
c = conv2(a, b)
c = conv2(a, b, shape)
Applies a two-dimensional convolution.
| Name | Description | ||||||
| a | Specifies a real or complex matrix. | ||||||
| b | Specifies a real or complex matrix. | ||||||
| shape | Specifies the size of the output. shape is a string that accepts the following values.
|
| Name | Description |
| c | Returns the convolution of a and b. |
A = rand(2);
B = rand(4);
C = conv2(A, B, 'full')