MATLAB Answers

Jason
0

steady state error command

Asked by Jason
on 30 Mar 2011
Is there a command that will give the steady state error of the the response of a transfer function

  0 Comments

Sign in to comment.

1 Answer

Answer by Paulo Silva
on 30 Mar 2011

SP=5; %input value, if you put 1 then is the same as step(sys)
[y,t]=step(SP*sys); %get the response of the system to a step with amplitude SP
sserror=abs(SP-y(end)) %get the steady state error

  0 Comments

Sign in to comment.