Magnitude and phase response of IIR filter from given transfer function

14 ビュー (過去 30 日間)
Mohsen Salimy
Mohsen Salimy 2019 年 12 月 25 日
回答済み: Maadhav Akula 2019 年 12 月 30 日
I am trying to work to obtain a figure from the following transfer function below:
%numerator coefficients
b0 = 0.05634;
b1 = [1 1];
b2 = [1 -1.0166 1];
%denominator coefficients
a1 = [1 -0.683];
a2 = [1 -1.4461 0.7957];
Please help obtain this code as im getting stuck using differenatied between fir and iir filters formula on matlab code

回答 (1 件)

Maadhav Akula
Maadhav Akula 2019 年 12 月 30 日
I think you are looking for the freqz function which gives the Magnitude and Phase response of a filter.
Following links might be helpful:
Hope this helps!

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by