I am trying to make a graph of y, but I am getting "Unable to perform assignment because the left and right sides have a different number of elements." most of the time. I think the array r is the reason I am getting this problem, but I don't know how to make that graph happen. Can someone show my a path to solve this or provide some advice?

` h = 1; t = 1 : h : 100; r = 88 - 3.5*t; f = @(t,N) (r)*N*(1-N/51000000000); y = zeros(1,length(t)); y(1) = 10; for ii = 2:length(t) y(ii) = y(ii-1)+ h*feval(f,t(ii-1),y(ii-1)); end plot(t,y);`

## Best Answer