help in plotting replicator equation
Mostrar comentarios más antiguos
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
Respuestas (0)
Categorías
Más información sobre Instrument Control Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!