order
Order of discrete-time filter System object
Syntax
Description
Examples
Determine Filter Order
Design a compensation decimator for a CIC decimator using the dsp.FilterCascade
object. Determine the order of the overall filter.
cicdecim = dsp.CICDecimator(DecimationFactor=6, ... NumSections=6); fs = 16e3; % Sampling frequency of input of compensation decimator fPass = 4e3; % Passband frequency fStop = 4.5e3; % Stopband frequency ciccomp = dsp.CICCompensationDecimator(cicdecim, ... DecimationFactor=2, ... PassbandFrequency=fPass, ... StopbandFrequency=fStop, ... SampleRate=fs); filtchain = dsp.FilterCascade(cicdecim, ciccomp); order(filtchain)
ans = 648
Input Arguments
sysobj
— Input filter
filter System object
Output Arguments
n
— Filter order
scalar
Filter order, returned as a scalar. The order depends on the filter structure and the reference double-precision floating-point coefficients.
Data Types: double
Version History
Introduced in R2011aR2024b: Support for dsp.VariableFIRDecimator
and dsp.VariableFIRInterpolator
Objects
Starting in R2024b, the order
analysis function supports the
dsp.VariableFIRDecimator
and dsp.VariableFIRInterpolator
objects.
R2024b: dsp.BiquadFilter
object warns
The dsp.BiquadFilter
object issues a warning and will be removed in a
future release. Use the dsp.SOSFilter
object
instead. For more information on how to replace your existing code, see the
Compatibility Considerations section in the dsp.BiquadFilter
reference page.
R2024b: Support for dsp.DCBlocker
object
Starting in R2024b, this function supports the dsp.DCBlocker
object.
R2023b: Support for dsp.ParallelFilter
and dsp.Delay
Objects
Starting in R2023b, the order
analysis function supports the
dsp.ParallelFilter
and the dsp.Delay
objects.
R2023b: dsp.BiquadFilter
object will be removed
The dsp.BiquadFilter
object will be removed in a future release. Use
the dsp.SOSFilter
object
instead.
See Also
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)