rising time
이전 댓글 표시
I have 4 plots in a graph. Each of them have a starting point and a point at it which the peak shoots to a level and then falls down again. I want to find the time it takes to rise from starting point to the peak.
답변 (1개)
Fangjun Jiang
2011년 10월 31일
stepinfo()
S = STEPINFO(Y,T,YFINAL) takes step response data (T,Y) and a steady-state value YFINAL and returns a structure S containing the following performance indicators:
* RiseTime: rise time
* SettlingTime: settling time
* SettlingMin: min value of Y once the response has risen
* SettlingMax: max value of Y once the response has risen
* Overshoot: percentage overshoot (relative to YFINAL)
* Undershoot: percentage undershoot
* Peak: peak absolute value of Y
* PeakTime: time at which this peak is reached.
sys=tf(1, [1 4 10]);
[y,t]=step(sys);
plot(t,y);grid on;
stepinfo(y,t,1/10)
댓글 수: 6
Bhargavi
2011년 10월 31일
Fangjun Jiang
2011년 10월 31일
As long as you have the data (t,y,y_final), what is your difficulty?
Fangjun Jiang
2011년 11월 1일
See update.
Bhargavi
2011년 11월 1일
Fangjun Jiang
2011년 11월 1일
I don't understand. If you have 4 plots, you have to run stepinfo() 4 times. If you cannot mention the value of YFINAL, that is fine. You can use stepinfo(Y,T). But if you can't mention the value of Y, how could you do it with your own brain?
Bhargavi
2011년 11월 2일
카테고리
도움말 센터 및 File Exchange에서 Classical Control Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!