# matlab help

• Dec 7th 2008, 04:18 AM
qwerty321
matlab help
Hello
Well I have a question to ask..
suppose I have the matlab code above:

z=-4;p=[-2+5j -2-5j];k=6.5;
[num den]=zp2tf(z,p,k);
t=0:0.01:4;
[y,x]=step(num,den,t);
plot(t,y); grid;

how can i find the rise time,overshoot?
are there formulas?
is there a way to find them in matlab?
thank you
• Dec 7th 2008, 06:02 AM
CaptainBlack
Quote:

Originally Posted by qwerty321
Hello
Well I have a question to ask..
suppose I have the matlab code above:

z=-4;p=[-2+5j -2-5j];k=6.5;
[num den]=zp2tf(z,p,k);
t=0:0.01:4;
[y,x]=step(num,den,t);
plot(t,y); grid;

how can i find the rise time,overshoot?
are there formulas?
is there a way to find them in matlab?
thank you

You calculate them from y-t plot or from the y-t data.

CB
• Dec 7th 2008, 08:41 AM
qwerty321
i do not know the formulas for the rise time and overshoot:S
• Dec 7th 2008, 10:55 AM
CaptainBlack
Quote:

Originally Posted by qwerty321
i do not know the formulas for the rise time and overshoot:S