Phase Wrapping in bodeoptions (MATLAB 2016a)

41 vues (au cours des 30 derniers jours)
yongeandcollege
yongeandcollege le 21 Juil 2016
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?

Réponse acceptée

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

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by