function xout = weird(x) % % weird friction example % xout = x; % make sure shapes agree xout(1) = x(2); xout(2) = -x(1) - x(2)^3;