毛滂两⽅演化博弈matlab,演化博弈matlab程序与作图%函数
function dxdt=differential(t,x)
dxdt=[x(1)*(1-x(1))*(5-6*x(2));x(2)*(1-x(2))*(1-6*x(1))]; end
%主程序
clear
%y-x
for i=0:0.1:1
for j=0:0.1:1
[T,Y]=ode45('differential',[0 5],[i j]);
figure(1)
蜂蜜姜水grid on
plot(Y(:,1),Y(:,2));春天圆舞曲
hold on
end
end
%dx/dt-t
for i=0:0.1:1
for j=0:0.1:1
[T,Y]=ode45('differential',[0 5],[i j]);
法语读音
致力于的英文figure(2)
grid on
plot(T,Y(:,1));
hold on
end
end
%dy/dt-t
for i=0:0.1:1
射手座女明星for j=0:0.1:1
[T,Y]=ode45('differential',[0 5],[i j]);
figure(3)
grid on
LiFePO4写人外貌的作文plot(T,Y(:,2));
hold on
end end