% Matlab diary from cs110a, Feb 23 2005. % % This is what I typed in class. % % Type it into Matlab yourself to % reproduce the output I showed. edit f type f function ydot = f(t,y) % F : function ydot = f(t,y) for ODE solution % % t: scalar time % y: vector, y = y(t), unknown function % % ydot: vector of dy / dt ydot = y / 2; help ode23tx ode23tx ( 'f', [0 10], 1)