how to copy the figure from root locus editor

17 visualizaciones (últimos 30 días)
Mohammad Wasi Ahmadi
Mohammad Wasi Ahmadi el 2 de Ag. de 2017
Editada: Mohammad Wasi Ahmadi el 16 de Oct. de 2018
I am using Matlab 2016a, where I ploted root locus for a system in rltool, but could not trace how to copy the figure().

Respuesta aceptada

Brian Hannan
Brian Hannan el 4 de Ag. de 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.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by