i want to plot freq response of FIR filter

조회 수: 1 (최근 30일)
Sliman Izz
Sliman Izz 2023년 2월 9일
댓글: Mathieu NOE 2023년 2월 9일
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

답변 (1개)

Mathieu NOE
Mathieu NOE 2023년 2월 9일
hello
try this
b= [1 -2 4];
freqz(b,1)
  댓글 수: 2
Sliman Izz
Sliman Izz 2023년 2월 9일
thank you
Mathieu NOE
Mathieu NOE 2023년 2월 9일
my pleasure !

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Digital Filter Design에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by