Plotting an implicit curve

3 visualizzazioni (ultimi 30 giorni)
Edoardo Cioffi
Edoardo Cioffi il 27 Mag 2023
Commentato: Torsten il 27 Mag 2023
I was wondering on how I could plot this curve :
I tried both 'fplot' and 'plot' but I kept getting this : 'Input must be a function handle or symbolic function. '. If I use 'fimplicit3' I get an empty graph.
  7 Commenti
Edoardo Cioffi
Edoardo Cioffi il 27 Mag 2023
I solved a second order differential equation where the solutions of the characteristic polynomial are complex. Basically x3(t) and x4(t) are the state of position and velocity. I wanted to draw the phase plane and with some algebra you get the equation I wrote at the beginning. The values of the parameters can be all the positive numbers.
Torsten
Torsten il 27 Mag 2023
You might use plot3(t,x3,x4) or something similar after getting numerical arrays from the solution of your 2nd order ODE, but to do so, you don't need the equation from above.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by