📄 mm2501.m
字号:
tspan = [0 20]; % time span to integrate overyo = [2; 0]; % initial conditions (must be a column)[t,y] = ode45(@vdpol,tspan,yo);size(t)% number of time pointssize(y) % (i)th column is y(i) at t(i)plot(t,y(:,1),t,y(:,2),'--')xlabel('time')title('Figure 25.1: van der Pol Solution') %(mm2501.m plot)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -