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
So, why am I getting two different rise times? Any solution?
NOTE:-
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
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
SEE COMPLETE ANSWER CLICK THE LINK
Comments
Post a Comment