Magnitude and phase response of IIR filter from given transfer function

20 views (last 30 days)
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

Answers (1)

Maadhav Akula
Maadhav Akula on 30 Dec 2019
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!

Community Treasure Hunt

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

Start Hunting!