how to copy the figure from root locus editor

9 visualizzazioni (ultimi 30 giorni)
I am using Matlab 2016a, where I ploted root locus for a system in rltool, but could not trace how to copy the figure().

Risposta accettata

Brian Hannan
Brian Hannan il 4 Ago 2017
You can do this by exporting your transfer function from the Control System Designer to the MATLAB workspace and then plotting the root-locus in MATLAB.
As an example, you can run the commands
h = tf([2 5 1], [1 2 3]);
rltool(h);
and then select Export, select LoopTransfer_C, and hit the Export button. LoopTransfer_C is now in the MATLAB workspace. Now use
rlocus(LoopTransfer_C)
to recreate the root-locus figure.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by