How do you plot nonlinear differential equations?
显示 更早的评论
Dx=y
Dy=-k*y-x^3+9.8*cos(t)
inits=('x(0)=0,y(0)=0')
these are the differential equations that I wanted to plot.
first, I tried to solve the differential equation and then plot the graph.
Dsolve('Dx=y','Dy=-k*y-x^3+9.8*cos(t)', inits)
like this, however, there matlab is telling me that it has no explicit solution for this system.
now i am stuck :(
how can you plot this system without solving the equations?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Optimization 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!