generate a taps array for a Butterworth infinite impulse response filter
generate a taps array for a Chebyshev Type 1 infinite impulse response filter
GenerateButterworthTaps( order, freq )
GenerateChebyshev1Taps( order, freq, ripple )
integer[1..12], order of the filter to generate
realcons, the cutoff frequency for a low-pass or high-pass filter; f must satisfy 0 < f and f < 1/2.
realcons, ripple in the pass band for Chebyshev1 filters
filtertype : "lowpass" or "highpass", the type of filter (can also be specified as a name)
normalize : truefalse, whether to normalize
container : Array, predefined Array for holding the result
The GenerateButterworthTaps( order, freq ) command generates a taps array for an order order Butterworth filter with cutoff frequency freq. The resulting taps array may be used with the command InfiniteImpulseResponseFilter to effect filtering operations on a sample.
The GenerateChebyshev1Taps( n, freq, ripple ) command generates a taps array for an order order Chebyshev1 filter with cutoff frequency freq. The resulting array may be used with the command InfiniteImpulseResponseFilter to effect filtering operations on a sample.
For both commands, the resulting taps array has 2*(order + 1) elements.
The cutoff frequency freq must be strictly positive and less than 12.
The ripple argument specifies the possible ripple in the pass band for Chebyshev1 filters. Its value must be positive and less than 29.
Specify the type of filter with the filtertype option. It can take either of the values "lowpass" and "highpass". The default value is "lowpass". The values can also be specified as the names lowpass or highpass.
The normalize option specifies whether to normalize the filter coefficients produced, and can either of the values true or false. The default is normalize = true.
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 2*(order+1) having datatype float.
The SignalProcessing[GenerateButterworthTaps] and SignalProcessing[GenerateChebyshev1Taps] commands are thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
C ≔ Array⁡1..10,'datatype'='float'8,'order'='C_order':
1 .. 20 ArrayData Type: float8Storage: rectangularOrder: C_order
1 .. 12 ArrayData Type: float8Storage: rectangularOrder: C_order
The SignalProcessing[GenerateButterworthTaps] and SignalProcessing[GenerateChebyshev1Taps] commands were introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.