How to calculate the filter order of given specification ??

6 ビュー (過去 30 日間)
afef
afef 2017 年 7 月 7 日
コメント済み: afef 2017 年 8 月 19 日
Hi, i designed a filter using :
d1=designfilt('lowpassfir','PassbandFrequency',0.45,'StopbandFrequency',0.5,'PassbandRipple',3,'StopbandAttenuation',60,'DesignMethod','equiripple');
When i tried to use fdatool to get the filter coefficient i need to put the filter order but i don't know how to calculate it . can anyone tell me please?

採用された回答

Star Strider
Star Strider 2017 年 7 月 7 日
There is a way to calculate the order necessary for IIR filters, since they have both numerator and denominator polynomials, but not for FIR filters, with only numerator polynomials. With FIR filters, I usually begin with a filter order of 24, then use freqz to test it, and increase the length until I get the result I want. The window you choose will affect the filter passband shape.
  17 件のコメント
Star Strider
Star Strider 2017 年 8 月 19 日
The only problem are the (possible) filter transients at the beginning and end of each segment. These are more apparent with longer filters.
afef
afef 2017 年 8 月 19 日
Ok, i undestand thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with DSP System Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by