i want to plot freq response of FIR filter

11 visualizaciones (últimos 30 días)
Sliman Izz
Sliman Izz el 9 de Feb. de 2023
Comentada: Mathieu NOE el 9 de Feb. de 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

Respuestas (1)

Mathieu NOE
Mathieu NOE el 9 de Feb. de 2023
hello
try this
b= [1 -2 4];
freqz(b,1)
  2 comentarios
Sliman Izz
Sliman Izz el 9 de Feb. de 2023
thank you
Mathieu NOE
Mathieu NOE el 9 de Feb. de 2023
my pleasure !

Iniciar sesión para comentar.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by