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
Input filter, specified as one of the following filter System objects:
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 R2011aR2023b: 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. For more information on how to replace your existing code, see the
Compatibility Considerations section in the dsp.BiquadFilter
reference page.
See Also
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes 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)