Owning Class: filter implementation
Requires: MathScript RT Module
y = filter_2d(f, x)
y = filter_2d(f, x, shape)
Legacy Name: filter2
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 = filter_2d(F, X, 'full')