i want to plot freq response of FIR filter

10 vues (au cours des 30 derniers jours)
Sliman Izz
Sliman Izz le 9 Fév 2023
Commenté : Mathieu NOE le 9 Fév 2023
the filter is :
w = linspace(0,pi);
b0=1
b1=-2
b2=4
b=b0*conv(b1,b2)
freqz(b,w)
it gives me an error

Réponses (1)

Mathieu NOE
Mathieu NOE le 9 Fév 2023
hello
try this
b= [1 -2 4];
freqz(b,1)
  2 commentaires
Sliman Izz
Sliman Izz le 9 Fév 2023
thank you
Mathieu NOE
Mathieu NOE le 9 Fév 2023
my pleasure !

Connectez-vous pour commenter.

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by