SignalProcessing
GenerateButterworthTaps
generate a taps array for a Butterworth infinite impulse response filter
GenerateChebyshev1Taps
generate a taps array for a Chebyshev Type 1 infinite impulse response filter
Calling Sequence
Parameters
Options
Description
Thread Safety
Examples
Compatibility
GenerateButterworthTaps( order, freq )
GenerateChebyshev1Taps( order, freq, ripple )
order
-
integer[1..12], order of the filter to generate
freq
realcons, the cutoff frequency for a low-pass or high-pass filter; f must satisfy 0 < f and f < 1/2.
ripple
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( order, 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 be 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[8].
The SignalProcessing[GenerateButterworthTaps] and SignalProcessing[GenerateChebyshev1Taps] commands are thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
with⁡SignalProcessing:
GenerateButterworthTaps⁡4,0.1
C≔Array⁡1..10,datatype=float8,order=C_order:
GenerateButterworthTaps⁡4,0.1,container=C
C
GenerateButterworthTaps⁡9,3001000,filtertype=highpass
GenerateChebyshev1Taps⁡4,0.2,3
GenerateChebyshev1Taps⁡4,0.2,3,container=C
GenerateChebyshev1Taps⁡5,0.4,15,filtertype=highpass
The SignalProcessing[GenerateButterworthTaps] and SignalProcessing[GenerateChebyshev1Taps] commands were introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
SignalProcessing[GenerateFiniteImpulseResponseFilterTaps]
SignalProcessing[InfiniteImpulseResponseFilter]
Download Help Document