How do you plot nonlinear differential equations?
Mostrar comentarios más antiguos
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?
Respuestas (0)
Categorías
Más información sobre Optimization en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!