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!