ODE 23, ODE 45

function wd=derv2a(t,w);
% example of linear differential equation
% in the form required by ODE23 and ODE45

wd = – (1.2+sin(10*t))*w;