필터 지우기
필터 지우기

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 CenterFile Exchange에서 Numerical 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