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

6 ビュー (過去 30 日間)
Maximilian Stahl
Maximilian Stahl 2017 年 8 月 2 日
コメント済み: Star Strider 2017 年 8 月 4 日
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 :)
Star Strider
Star Strider 2017 年 8 月 4 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by