Member of the filter implementation class.
y = filter2(f, x)
y = filter2(f, x, shape)
Applies a two-dimensional FIR filter.
| Name | Description | ||||||
| f | Specifies the 2D FIR filter to use. f is a 2D array of real or complex, double-precision, floating-point numbers. | ||||||
| x | Specifies the signal to filter. x is a 2D array of real or complex, double-precision, floating-point numbers. | ||||||
| shape | Specifies the size of the filtered signal. shape is a string that accepts the following values.
|
| Name | Description |
| y | Returns the filtered signal. y is a 2D array of real or complex, double-precision, floating-point numbers. |
F = rand(2);
X = rand(4);
Y = filter2(F, X, 'full')