J = 0.2; b = 0.1; K = 0.2; R = 10; L = 5; s = tf('s'); p = K/((J*s+b)*(L*s+R)+K^2); step(p,200) [y,t]=step(p,200); stepinfo(y)
With the following code, I want to measure the rise time. Using the stepinfo command, this is what pops in my command window :
ans = struct with fields: RiseTime: 94.5571 %%Rise time SettlingTime: 172.5924 SettlingMin: 0.1735 SettlingMax: 0.1923 Overshoot: 0 Undershoot: 0 Peak: 0.1923 PeakTime: 1378
You are not calling stepinfo correctlly.
stepinfo(p)
produces:
ans = struct with fields: RiseTime: 4.4144 SettlingTime: 8.0108 SettlingMin: 0.1735 SettlingMax: 0.1923 Overshoot: 0 Undershoot: 0 Peak: 0.1923 PeakTime: 23.2961
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.