Adding plots to an existing root locus plot
41 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how can I add damping frequency lines constraints to an existing root locus plot
13 commentaires
dpb
le 4 Nov 2024
Modifié(e) : dpb
le 4 Nov 2024
There still has to be a defineable reason for the particular behavior, undocumented or not, though, persuing which was the direction of this sidebar conversation.
It simply can't be relied upon to remain that way going forward nor even be assured the code won't do the apocryphal "start WW III" if one mucks around with those undocumented properties--trashing the figure or even crashing MATLAB at the extreme.
But, while the internals are somewhat interesting, it isn't of any real significance to the use of the object and the implementation is far improved over many of the earlier similar canned charts in exposing internals such as the axes handle even if some internal features are unsupported by making other user modfications.
I, personally, commend TMW on the decision to have done so, even though I don't have the particular TB and my days of control systems are far behind me; hopefully, the direction will carry over to new such specialty graphics as they are introduced and also make its way back into earlier ones that weren't so user friendly.
Réponses (2)
Andrew Ouellette
le 31 Oct 2024
Hello,
Design requirements (constraints) for damping ratios and natural frequencies in root locus charts is only available within the Control System Designer app currently. You cannot import a root locus chart directly into the app, but you can import the same system you used to generate the root locus and design requirements at that point.
If you are simply looking to see grid lines with constant damping factors and natural frequencies, you have a few options:
1) After creating your root locus chart, you can open a context menu by right clicking on the chart axes. In that menu, you can select the Grid option to turn on the chart's grid.
2) Starting in R2024b, you can turn on the chart's grid via the chart API.
sys = rss(4);
rlp = rlocusplot(sys);
rlp.AxesStyle.GridVisible = true;
3) You can also explore the sgrid() or zgrid() functions to customize the damping factors and natural frequencies shown in the grid.
0 commentaires
Voir également
Catégories
En savoir plus sur Axes Appearance dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!