title: How to solve ode dx= A*x + B *u in MATLAB ode, where B matrix have delay (Delay in input)?
body: <p>I have an ode equation written in matrix format dx=Ax + Bu, where <code>A=[1 2; 3 4]</code> is 2 by 2 matrix; and <code>B*u = [1*v + f; 0.9*v(t-5) +f]</code> where v=8  is step input in 1st row and with delay in 2nd row. f is also an input f=0.05;.</p>
  <p>How to implement this in ode matlab code? Another question is how to incorporate input delay in state space model. In s-domain transfer function model it is very easy to incorporate delay as exp(-td*s) or Pade approximation of this.</p>