amp202.m
来自「适合于数学建模的系统教程,介绍了系统模型及转换,系统时间响应和动态仿真等,并配合」· M 代码 · 共 11 行
M
11 行
%Matlab Program 2-2
%To obtain the solutions
[t,y]=ode45('vdp',[0 20],[0,1]);
%To display the results
plot(t,y(:,1),'r-',t,y(:,2),'b:')
title('Solution,m=1')
xlabel('Times s')
ylabel('Position Y')
legend('y1','y2')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?