Magnitude and phase response of IIR filter from given transfer function

14 次查看(过去 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 CenterFile Exchange 中查找有关 Filter Design 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by