%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This matlab function takes a column vector % y=(y(1),y(2))' and a scalar t as arguments, % and returns a vector F(y,t)=(F(1),F(2))' % where ' stands for transpose % be aware that this sample function is % similar to that is your hw assignment, but % not identical %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function v=F(y,t) v=zeros(2); v(1)=y(2); v(2)=(1-y(1))*y(2);