title: MATLAB Maximum recursion limit reached with ode45
body: <p>The following code will not run properly because the ode45 is reaching its maximum recursion limit does anyone know why? I am very new to matlab.</p>
  
  <pre><code>   function hw8 = HW8(~,t,x)
  x = [0,0]
  Tbar = [294.4266 429.9139 582.6765]
  CAbar = [.9422 .7661 .5675]
  DHp=-1000;
  k0tau=10.;
  Ep=1500;
  Chi=0.3;
  Tc=250;
  Cai=0;
  Ca=x(1);
  T=x(2);
  r=k0tau*exp(-Ep/T)*Ca;
  dCa = (Cai-Ca)-r;
  dT = -(1+Chi)*(T-Tc)+DHp*r;
  hw8 = [dCa;dT]
  
  [t,x] = ode45(HW8,[0 1],[.1 250])
  </code></pre>