designfilt を使用して、次数 54、正規化されたカットオフ周波数 rad/s、通過帯域リップル 0.7 dB および阻止帯域の減衰量 42 dB の FIR フィルターを設計します。制約付き最小二乗法を使用します。フィルターの位相応答を表示します。
Nf = 54;
Fc = 0.3;
Ap = 0.7;
As = 42;
d = designfilt('lowpassfir','CutoffFrequency',Fc,'FilterOrder',Nf, ...'PassbandRipple',Ap,'StopbandAttenuation',As, ...'DesignMethod','cls');
phasez(d)
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.