FIR Filter in MATLAB

3 ビュー (過去 30 日間)
Big dream
Big dream 2016 年 11 月 30 日
コメント済み: Star Strider 2016 年 12 月 5 日
I've seen in MATLAB FIR Filter, that we can use the function 'designfilt', to obtain value from Filter coefficients regarding some specification(cut off frequency, order, etc...). My question is, on the other side, if we already have the filter coefficients, let's say 1x31 coefficients vektor, can we retrieve its specifications(order,cutoff frequency,ripple...)? Maybe using a function in MATLAB,which is i'd like to know.

回答 (1 件)

Star Strider
Star Strider 2016 年 11 月 30 日
Use the freqz function to get the transfer function. You would have to calculate the ripple yourself, but that is not difficult. (The findpeaks function would help with that.) The order is the order of the denominator polynomial. You would have to know the sampling frequency to get the cutoff frequency in Hz, although it would again be straightforward to calculate it in radian frequency (on the interval (0,pi)) from the transfer function.
  8 件のコメント
Big dream
Big dream 2016 年 12 月 5 日
I see. Thanks so much for your explanation.
Ive never actually use the interp1 before. but i'd explore this function first. thanks
Star Strider
Star Strider 2016 年 12 月 5 日
My pleasure.

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

カテゴリ

Help Center および File ExchangeDigital Filter Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by