Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
3lewwi
3lewwi le 2 Jan 2022
Commenté : 3lewwi le 3 Jan 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')

Réponses (1)

Chunru
Chunru le 2 Jan 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 commentaires
Chunru
Chunru le 3 Jan 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.
3lewwi
3lewwi le 3 Jan 2022
big thanks broo

Connectez-vous pour commenter.

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by