Adding plots to an existing root locus plot
41 ビュー (過去 30 日間)
古いコメントを表示
how can I add damping frequency lines constraints to an existing root locus plot
13 件のコメント
dpb
2024 年 11 月 4 日
編集済み: dpb
2024 年 11 月 4 日
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.
回答 (2 件)
Andrew Ouellette
2024 年 10 月 31 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Axes Appearance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!