Plotting an implicit curve

5 次查看(过去 30 天)
Edoardo Cioffi
Edoardo Cioffi 2023-5-27
评论: Torsten 2023-5-27
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 个评论
Edoardo Cioffi
Edoardo Cioffi 2023-5-27
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 2023-5-27
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by