⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vdpol_events.m

📁 matlab从入门到精通第6章书后源码对初学者很有帮助
💻 M
字号:
% vdpol_events.m
% 响应事件函数
mu=2;
options=odeset('Events',@vdpolevents);
[t,y,te,ye]=ode45(@vdpol,tspan,yo,options,mu);
plot(t,y,te,ye(:,2),'o');
title('Van der Pol resutls for |y(2)=1.5|')
legend('x','dx/dt');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -