How to label characteristic values of step response on the figure?

11 ビュー (過去 30 日間)
Pootai Tabmanee
Pootai Tabmanee 2021 年 9 月 13 日
コメント済み: Dylan 2022 年 10 月 22 日
I tried right clicking at the figure but nothing happened. My version of MATLAB is 2020b.
I had to use the stepinfo function to find these values and label it by myself.
Any suggestion?
N = 1
D = [1,3,5]
sys = tf(N,D)
step(sys)
stepinfo(sys)
right clicking to find the characteristics tab on this figure is not possible.

採用された回答

Srijith Kasaragod
Srijith Kasaragod 2021 年 9 月 24 日
編集済み: Srijith Kasaragod 2021 年 9 月 24 日
Hi,
The 'stepinfo' function outputs a structure with fields as the step response characteristics. Please refer 'this' answer to see how output can be displayed along with the plot.
  2 件のコメント
Pootai Tabmanee
Pootai Tabmanee 2021 年 9 月 27 日
Thank you for your reply Srijith. I also found another solution by writing all the code in the command window instead of the live script. Now, all stepinfo values can be label within the figure by right clicking and select characteristics.
Dylan
Dylan 2022 年 10 月 22 日
can you share please?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by