Bode Plot of Low Pass Filter and High Pass Filter

조회 수: 25 (최근 30일)
khoirul wakiah nasution
khoirul wakiah nasution 2017년 6월 13일
답변: mahmoud 2023년 12월 10일
How to plot the bode plot of a low pass filter and a second order high pass filter with the gain and frequency based on the value entered by the GUI user.

채택된 답변

Victor Wetzel
Victor Wetzel 2017년 6월 13일
편집: Victor Wetzel 2017년 6월 13일
You have two solutions here:
1: Implementing the explicit formula of your filter, and do a simple plot. It should look quite like:
w = [20: 10: 20000];
filter = 1/(1 + w^2);
plot(w, 20*log10(filter) );
2: design a filter and use the 'bode' function. The help file of this function might be more helpfull. If you just type 'bode' in the console, you'll see an example

추가 답변 (2개)

poovaneshvarri nadunchalean
poovaneshvarri nadunchalean 2020년 11월 22일
  • Given a Low-pass RC filter with R = 3 kΩ, C = 0.5 µF, Write out the filter’s transfer function and Draw a bode diagram of the system.

mahmoud
mahmoud 2023년 12월 10일
w = [20: 10: 20000];
filter = 1/(1 + w^2);
plot(w, 20*log10(filter) );

카테고리

Help CenterFile Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by