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 Center および File ExchangeDigital Filter Design についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by