Question about a Logistic Equation
이전 댓글 표시
Hi,
I would like to start off by saying thank you for taking your time to help me with the problem. I am new to MATLAB so my script might like a little off.
%Population of Rabbits when N(0) = 200
t = .01:.01:1095;
p = 200;
%Principle Value of Rabbits / N(0)
a = .04
%R_0,prey; Rprey
Rprey = .04
%R_0,prey
s = .0005
%Death Rate Constant; y
h = .2
Nrab = p * exp(Rprey * t);
%Number of Rabbits
Res = (s * Nrab) / (1 + (s * h * Nrab))
%Number of Rabbits
I am trying to get Res but I am unable to. I think the problem is that I have 2 matrices in one; this is from combining Nrab in the same equation
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!