Magnitude and phase response of IIR filter from given transfer function

12 vues (au cours des 30 derniers jours)
Mohsen Salimy
Mohsen Salimy le 25 Déc 2019
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

Réponses (1)

Maadhav Akula
Maadhav Akula le 30 Déc 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!

Translated by