filter a signal with a finite impulse response filter - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Signal Processing : Filtering : SignalProcessing/InfiniteImpulseResponseFilter

SignalProcessing[InfiniteImpulseResponseFilter] - filter a signal with a finite impulse response filter

Calling Sequence

InfiniteImpulseResponseFilter( A, taps, delayline )

Parameters

A

-

Array of real numeric values; the signal to filter

taps

-

Array of real numeric values; the tap coefficients

delayline

-

(optional) Array of real numeric values; initial values for the delay line

Description

• 

The InfiniteImpulseResponseFilter( A, taps, delayline ) command filters the signal (sample) in the array A using the tap coefficients in the array taps.  The taps array may be generated by using the GenerateButterworthTaps and GenerateChebyshev1Taps commands, or you may provide your own custom filtering coefficients.

• 

The delayline argument is optional.  If delayline is provided, it must be an Array of real numeric values and the same length as taps.

• 

Before the code performing the computation runs, the input Arrays A, taps, and (if present) delayline are converted to datatype float[8] 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[8].

Thread Safety

• 

The SignalProcessing[InfiniteImpulseResponseFilter] command is thread-safe as of Maple 17.

• 

For more information on thread safety, see index/threadsafe.

Examples

withSignalProcessing:

withplots:

A:=GenerateJaehne512,4095:

PA:=listplotA,'title'=Original Signal:

taps:=GenerateButterworthTaps9,310,'filtertype'=highpass

taps:= 1 .. 20 ArrayData Type: float8Storage: rectangularOrder: C_order

(1)

B:=InfiniteImpulseResponseFilterA,taps:

PB:=listplotB,'title'=Filtered Signal:

displayPA,PB

See Also

SignalProcessing[FiniteImpulseResponseFilter], SignalProcessing[GenerateButterworthTaps], SignalProcessing[GenerateChebyshev1Taps]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam