フィルターのクリア

How can i Assign the value of cut-off frequency ?

1 回表示 (過去 30 日間)
3lewwi
3lewwi 2022 年 1 月 2 日
コメント済み: 3lewwi 2022 年 1 月 3 日
f=[0.01:0.01:2e04];
s=2*pi*f;
wc1=j*2*pi*10;
wc2=j*2*pi*500;
H1=(s+wc1).^-1;
H2=(s.^2+(wc1+wc2)*s+wc1*wc2).^-1;
MH1=abs(H1);
MH2=abs(H2);
semilogx(f,20*log10(MH1/max(MH1)),'r')
hold on
semilogx(f,20*log10(MH2/max(MH2)),'k')

回答 (1 件)

Chunru
Chunru 2022 年 1 月 2 日
f=[0.01:0.01:2e04];
s=2*pi*f;
wc1=j*2*pi*10; % fc
wc2=j*2*pi*500;
H1=(s+wc1).^-1;
H2=(s.^2+(wc1+wc2)*s+wc1*wc2).^-1;
MH1=abs(H1);
MH2=abs(H2);
semilogx(f,20*log10(MH1/max(MH1)),'r')
hold on
semilogx(f,20*log10(MH2/max(MH2)),'k')
yline(-3); % -3dB
xline(10);
grid on
  3 件のコメント
Chunru
Chunru 2022 年 1 月 3 日
The slope for H1 is roughly 20dB/decative.
The slope for H2 is varying with frequency. Between 10 and 500Hz, the slope for H2 is roughly 20dB/decative. Beyond 500Hz, the slope is roughly 40dB/decative.
3lewwi
3lewwi 2022 年 1 月 3 日
big thanks broo

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by