How to plot a phase only Bode plot?

59 次查看(过去 30 天)
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?

采纳的回答

Samuel O'Neill
Samuel O'Neill 2020-4-20
Reposting Tommy's comment here as its the solution for any future users:
h = bodeplot(tf);
setoptions(h,'MagVisible','off');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Control System Toolbox 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by