Phase Wrapping in bodeoptions (MATLAB 2016a)

35 views (last 30 days)
Consider
close all;
opts = bodeoptions('cstprefs');
opts.PhaseWrapping = 'on';
s = tf('s');
G1 = s^1;
G2 = s^2;
G3 = s^3;
G4 = s^4;
bodeplot(G1, G2, G3, G4, opts);
grid on;
The phase plot of G3 is not equal to -90 (it equals 270). Up to at least MATLAB 2014a phase wrapping forced the phase to be between (-180, 180]. How can I get this behaviour back?

Accepted Answer

yongeandcollege
yongeandcollege on 6 Mar 2018
Thankfully, this issue seems to have been corrected in MATLAB 2017b.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!