function xout = example1(x) % % from chapter 4.1 % %xout = zeros(2,1); % a column vector xout = x; % make sure shapes agree xout(1) = x(1) + x(2) - x(1)^3; xout(2) = -x(1);