tspan = [0 2];
x0=0;
[t,x]=ode23('simpode','tspan',x0);
plot(t,x)
xlabel('t')
ylabel('x')

Strang-5.5.1-1 (last edited 2010-12-18 08:29:23 by harsha)