error step input and velocity input

HOW can Find the error of following system to step input and velocity input.?
g=tf([2000],[1 15 50 2000])

1 Comment

i find for error step
k=dcgain
ess=1/(1+k)

Sign in to comment.

Answers (1)

The function to use is stepinfo() like below. But your system is not stable. What "error" do you mean? Steady-state error?
sys=tf(1, [1 4 10]);
[y,t]=step(sys);
plot(t,y);grid on;
stepinfo(y,t,1/10)

Categories

Tags

Asked:

ali
on 1 Nov 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!