filter a signal with a finite impulse response filter
Filter( A, a, b )
Array of real numeric values; the signal to filter
Array of real numeric values; the Array of IIR coefficients
(optional) Array of real numeric values; the Array of FIR coefficients
container : Array, predefined Array for holding results
The Filter( A, a, b ) command filters the signal (sample) in the array A using the IIR coefficients in the array a and the FIR coefficients in the array b. If b is omitted, no FIR filter is applied (there is only a single coefficient, 1).
Before the code performing the computation runs, the input Arrays are converted to datatype float if they do not have that datatype already. For this reason, it is most efficient if the input Arrays have this datatype beforehand.
If the container=C option is provided, then the results are put into C and C is returned. With this option, no additional memory is allocated to store the result. The container must be an Array of size equal to the size of A and having datatype float.
The SignalProcessing[Filter] command is thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
A ≔ GenerateTone⁡128,1,0.05,3.0:
a ≔ Array⁡1..3,13,13,13,datatype=float8,order=C_order:
b ≔ Array⁡1..1,1,datatype=float8,order=C_order:
B ≔ Filter⁡A,a,b:
The SignalProcessing[Filter] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
Download Help Document