Is it possible to plot an additionally rectangle into a Bode plot ?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Maximilian Stahl
am 2 Aug. 2017
Kommentiert: Star Strider
am 4 Aug. 2017
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
0 Kommentare
Akzeptierte Antwort
Star Strider
am 2 Aug. 2017
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 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!