Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
What did I do wrong here?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to calculate the amount of fish I can catch in a year based on this model. What did I do wrong? The answer that I got is super huge.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/327503/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/327506/image.png)
u0 = 5000;
lambda = 0.03;
pm = 9000;
f = @(t,k) lambda*500*(1-500/pm)-k;
[t,k] = RK4(f,u0,100,10)
Kf = k(end)
2 Kommentare
Image Analyst
am 6 Jul. 2020
What I get is
Unrecognized function or variable 'RK4'.
Where did you define that?
Antworten (1)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!