資源簡介
此處使用matlab模擬生態系統中的捕食模型,歡迎大家下載學習
代碼片段和文件信息
function?survival(action)
%
%
%??Simple?MALTAB?ecosystem.?Try?to?find?parameter?values
%??which?will?allow?both?species?to?survive?(with?reproduction
%??rates?higher?than?zero.?Blue?dots?are?preys?and?red?circles?
%??predadtors.?Here?is?the?parameter?info:
%?
%?#Prey?-??????Initial?number?of?preys.
%?
%?Rep.?R?-?????Probability?of?preys?reproducing?each?turn?(between?0-1).
%?
%?#Pred?-??????Initial?number?of?predators.
%?
%?Star.?R.?-???Starvation?rate?of?predators?(between?0-0.98).?Predators?die
%?when?they?starvation?level?is?below?0.01.?Starvation?level
%?decreases?at?a?rate?of?(Star.?R.)^k.?Where?k?is?the?number?of
%?turns?the?predator?has?passed?without?eating.?k?resets?to?0
%?as?soon?as?the?predator?eats?a?prey.
%?
%?Speed?-?????How?far?a?predator?can?reach?its?prey?(>0).
%?
%?Rep.?R-?????Probability?of?predator?reproducing?each?turn?(between?0-1).?In
%?addition?predator?has?to?have?a?starvation?level?of?at?least
%?0.7?in?order?to?reproduce.
%?
%?
%?W
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1333??2010-04-15?18:40??license.txt
?????文件???????22847??2010-04-15?18:40??survival.m
- 上一篇:基于MATLAB平臺的機動目標跟蹤程序
- 下一篇:歸一化和反歸一化matlab程序
評論
共有 條評論