Digital filter
Use designfilt
to design and edit
digitalFilter
objects.
Use designfilt
in the form d =
designfilt(resp,Name,Value)
to design a digital filter, d
,
with response type resp
. Customize the filter further using
Name,Value
pairs.
Use designfilt
in the form
designfilt(d)
to edit an existing filter,
d
.
Note
This is the only way to edit an existing digitalFilter
object. Its
properties are otherwise read-only.
Use filter
in the form dataOut =
filter(d,dataIn)
to filter a signal with a digitalFilter
d
. The input can be a double- or single-precision vector. It can also
be a matrix with as many columns as there are input channels.
Use FVTool to visualize a
digitalFilter
.
These functions take digitalFilter
objects as input.
Filtering
Filter Analysis
Function | Description |
---|---|
Casts the coefficients of a | |
Generates a Simulink® filter block corresponding to a
| |
Returns the filter order of a
| |
Returns the type (1, 2, 3, or 4) of an FIR
| |
Returns or plots the frequency response of a
| |
Opens the Filter Visualization Tool and displays the magnitude response of
a | |
Returns or plots the group delay response of a
| |
Returns or plots the impulse response of a
| |
Returns the length of the impulse response of a
| |
Returns a character array with information about a
| |
Returns | |
Returns | |
Returns | |
Returns | |
Returns | |
Returns | |
Returns | |
Returns | |
Returns or plots the phase delay response of a
| |
Returns or plots the (unwrapped) phase response of a
| |
Casts the coefficients of a | |
Returns the state-space representation of a
| |
Returns or plots the step response of a
| |
Returns the transfer function representation of a
| |
Returns or plots the zero-phase response of a
| |
Returns the zero-pole-gain representation of a
| |
Displays the poles and zeros of the transfer function represented by a
|
designfilt
| double
| fftfilt
| filt2block
| filter
| filtfilt
| filtord
| firtype
| freqz
| FVTool | grpdelay
| impz
| impzlength
| info
| isallpass
| isdouble
| isfir
| islinphase
| ismaxphase
| isminphase
| issingle
| isstable
| phasedelay
| phasez
| single
| ss
| stepz
| tf
| zerophase
| zpk
| zplane