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
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 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)