Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
3lewwi
3lewwi il 2 Gen 2022
Commentato: 3lewwi il 3 Gen 2022
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')

Risposte (1)

Chunru
Chunru il 2 Gen 2022
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 Commenti
Chunru
Chunru il 3 Gen 2022
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.

Accedi per commentare.

Categorie

Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by