% The predator-prey problem.
% The function is defined in the file predprey.m

t0 = 0;      
tend = 40;   

x0 = [1000,200];  % Initial values

% Solution of the ODE.
[t,x] = ode45(@predprey,[t0,tend],x0);

plot(t,x);
legend('byttedyr','rovdyr')
xlabel('t')

