- #1
erezb84
- 43
- 0
Homework Statement
I need to find a system rise time (from 10% to 90%) using matlab.
Is this code right?
The Attempt at a Solution
Code:
sys = tf(num, den);
y= step(sys, t);
tr1 = max(find(y<0.1));
tr2 = min(find(y>0.9));
rise_time = t(tr2) - t(tr2);
Is this seems to be right?