How to add +180 degree in phase of bode plot?

I am trying to draw the bode plot of the system who have 180 degree phase shift. But It is not showning that boost. So how to add phase manually in bode plot?

Answers (1)

Robert
Robert on 7 Nov 2016
Edited: Robert on 8 Nov 2016
If you generate the plot with bodeplot, you can use the phase matching feature described in the documentation. From that page:
sys = tf(1,[1 1]);
h = bodeplot(sys);
p = getoptions(h);
p.PhaseMatching = 'on';
p.PhaseMatchingFreq = 1;
p.PhaseMatchingValue = 750;
setoptions(h,p);

3 Comments

I have already tried this h = bodeplot(tf_overall); p = getoptions(h); p.PhaseMatching = 'on'; p.PhaseMatchingFreq = 1; p.PhaseMatchingValue = 270; setoptions(h,p); but there is no change.

Sign in to comment.

Categories

Asked:

on 7 Nov 2016

Edited:

on 8 Nov 2016

Community Treasure Hunt

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

Start Hunting!