Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2009-08-08
年龄: 45
帖子: 8
声望力: 0 ![]() |
![]()
麻烦大家帮忙看看问题出在哪儿了?我怎么试都不行,thanks
Function dy=myfun(x,y) dy=zeros(2,1); dy(1)=y(2); dy(2)=2*y(2)-2*y(1)+5*exp(2*x)*sin(x); [x, y]=ode23(myfun,[0,1],[-2,-3]); |
![]() |
![]() |