How to calculate the filter order of given specification ??

20 views (last 30 days)
afef on 7 Jul 2017
Commented: afef on 19 Aug 2017
Hi, i designed a filter using :
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?

Accepted Answer

Star Strider
Star Strider on 7 Jul 2017
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by