I'm looking for a command that will plot a phase Bode plot of a transfer function, but not a magnitude plot. I'm doing this to compare my own plot (from data instead of a transfer function) with a plot made from a TF.
I've already used
bodemag(tf)
to plot a magnitude-only Bode plot, but I can't find anything similar for phase. I've tried several variations of this command and looked around the bode() documentation but I can't find anything.
Does anyone know if there's a command, and if not how do I plot a phase-only plot so that it can be compared?

2 Kommentare

How about
h = bodeplot(tf);
setoptions(h,'MagVisible','off');
Samuel O'Neill
Samuel O'Neill am 20 Apr. 2020
@Tommy thats done it, thankyou!

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Samuel O'Neill
Samuel O'Neill am 20 Apr. 2020

0 Stimmen

Reposting Tommy's comment here as its the solution for any future users:
h = bodeplot(tf);
setoptions(h,'MagVisible','off');

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with Control System Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by