How to plot implicit ODE?

1 vue (au cours des 30 derniers jours)
Juan Vicente
Juan Vicente le 27 Sep 2022
Commenté : Torsten le 21 Oct 2022
How can I plot the solution of this ODE x^2.y’-y-y^2=0. Help me out please, I am new at Matlab.

Réponse acceptée

Davide Masiello
Davide Masiello le 27 Sep 2022
Modifié(e) : Davide Masiello le 27 Sep 2022
You need to solve it first.
The ODE can be easily made explicit
Then you can use any Matlab ODE solver (see this documentation) to numerically solve it and then plot it using the plot function.
I suggest you give it a go, and if you stumble into problems of any sort maybe come back here and we can fix them.
  8 commentaires
Juan Vicente
Juan Vicente le 27 Sep 2022
Thanks for the advice, I’ll do that.
Torsten
Torsten le 21 Oct 2022
Solve the last equation for y and incorporate the boundary condition to get the constant C.
What's the problem ?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by