function xout = pendulum(x) % % pendulum example % xout(1) = x(2); xout(2) = -sin(x(1));