digitalFilter
Digital filter
Description
Use designfilt
to design and edit
digitalFilter
objects.
Use
designfilt
in the formd = designfilt(resp,Name,Value)
to design a digital filterd
with response typeresp
. Customize the filter further using name-value arguments.Use
designfilt
in the formdesignfilt(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 formdataOut = filter(d,dataIn)
to filter a signal with adigitalFilter
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. You can also use thefiltfilt
andfftfilt
functions withdigitalFilter
objects.Use FVTool to visualize a
digitalFilter
.
Object Functions
Filtering
Function | Description |
---|---|
Filters a signal with a | |
Filters a signal using a | |
Performs zero-phase filtering of a signal with a
| |
bandpass | Bandpass-filters a signal using a digitalFilter and
compensates for the delay introduced by the filter |
bandstop | Bandstop-filters a signal using a digitalFilter and
compensates for the delay introduced by the filter |
highpass | Highpass-filters a signal using a digitalFilter and
compensates for the delay introduced by the filter |
lowpass | Lowpass-filters a signal using a digitalFilter and compensates
for the delay introduced by the filter |
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
|
Examples
Version History
Introduced in R2014a
See Also
bandpass
| bandstop
| highpass
| lowpass
| 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