Filter löschen
Filter löschen

Plotting an implicit curve

5 Ansichten (letzte 30 Tage)
Edoardo Cioffi
Edoardo Cioffi am 27 Mai 2023
Kommentiert: Torsten am 27 Mai 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 Kommentare
Edoardo Cioffi
Edoardo Cioffi am 27 Mai 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 am 27 Mai 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by