title: Using Lsim in Matlab for multi output and multi input systems
body: <p>I have a state space system consisting of 16 state variables, 10 inputs and 18 outputs.</p>
  
  <p>How do I use the <a href="http://www.mathworks.com/help/toolbox/control/ref/lsim.html" rel="nofollow">Lsim</a> command for this system? Particularly, how do i define <code>u</code> and <code>t</code>, for <code>lsim(sys, u, t)</code>.</p>
  
  <p>Thanks in advance for all help!
  Amrita</p>