Is it possible to plot an additionally rectangle into a Bode plot ?

조회 수: 9 (최근 30일)
I am working with digital filters and want to highlight the area in which the signal is attenuated. I am using the bodeplot() function and tried to plot a the area with the patch() function, because i want the rectangle to be transparent, but it seems like it won't work that way. If you know how I could solve that problem I would really appreciate it!
Best regards

채택된 답변

Star Strider
Star Strider 2017년 8월 2일
The plot produced by the bode function will not allow any alterations.
The solution is to use the bode function with three outputs (magnitude, phase, and frequency), then plot the amplitude and phase in your own subplot call. You can then do anything with the plot you can do with any other subplot.
  댓글 수: 2
Maximilian Stahl
Maximilian Stahl 2017년 8월 4일
Thank you ! I've aldready done that and seems like it works :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by