title: Steady-state response in matlab
body: <p>We have to calculate the steady state response of the state space <code>A</code> in my code. The MATLAB function <code>tf(sys)</code> gives me the transfer functions. Now I want to multiply these <code>tf</code> functions with a step input <code>0.0175/s</code>. Next, I have to take the limit <code>s-&gt;0</code>, which will give me the steady-state response. However, I'm not sure how I would  program this in MATLAB. I have no idea how to deal with the outputs of the <code>tf(sys)</code> command. Could anyone provide some insight?  The code I wrote is below:</p>
  
  <pre><code>A=[ 0.00501 0.00464 -72.90 -31.34;
      -0.08570 -0.545 309 -7.4;
      0.00185 -0.00767 -0.395 0.00132;
      0 0 1 0];
  
  B=[5.63 -23.8 -4.51576 0]'; 
  
  C=[1 0 0 0;
      0 1 0 0;
      0 0 1 0;
      0 0 0 1];
  
  D=0;
  
  sys=ss(A,B,C,D);
  
  tf=tf(sys)
  </code></pre>