help in plotting replicator equation

I=5
input_x={0,0.2,0.4,0.6,0.8,1.0}
function pi_all=pi_req(I,input_x)
pi_all=zeros(I+1,1);
for i=1:I+1
pi_all(i)=(1-(i-1)/I)*(0.45+2*0.55*(input_x(i)/2 + sum(input_x(1:i-1))));
end
then i have to generate average
pi_all=for i=1 to 6 ∑(input_x(i) * pi_all(i))
and
plot d(input_x(i))/dt= input_x * (pi_all(i)-average pi_all)
can someone help me

답변 (0개)

카테고리

도움말 센터File Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기

질문:

2017년 12월 29일

편집:

2017년 12월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by