How to get graph properties on Live script? e.g. Rise time, setting time etc.
3 views (last 30 days)
Show older comments
clearvars, clc,close all
G=tf([1],[1 10 20]) % the transfer function
step(G) % finding the step input
0 Comments
Accepted Answer
Sam Chak
on 5 Apr 2024
Can use the stepinfo() command.
G = tf(1, [1, 10, 20]) % the transfer function
stepinfo(G)
step(G), grid on
2 Comments
Dyuman Joshi
on 5 Apr 2024
Note that accepting the answer indicates that your problem has been solved (which can be helpful to other people in future) and it awards the volunteer with reputation points for helping you.
You can accept only 1 answer for a question, but you can vote for as many answers as you want. Voting an answer also provides reputation points.
More Answers (0)
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!