Finding function for x in f(x,y,z)=0 and plotting it in 3d phase space

3 visualizzazioni (ultimi 30 giorni)
Hi, we have a function f(x,y,z)=0, could you please tell me how we can find a function for x which means x=g(y,z) and the second question is how we can plot this g(y,z) in a 3d plot?
Thanks in advance for any help.

Risposta accettata

Walter Roberson
Walter Roberson il 31 Lug 2022
Generally speaking, that is not always possible. Or sometimes it is only approximately possible.
If you have the symbolic toolbox, then you can define f(x,y,z) and then you can attempt
g = solve(f(x,y,z), x)
If you manage to get a solution, then you could try
fsurf(g, [y_lowerbound y_upperbound z_lowerbound z_upperbound])
xlabel('y'); ylabel('z'); zlabel('x')
where y_lowerbound y_upperbound z_lowerbound z_upperbound are numeric values that give the bounds of the region you want to plot.

Più risposte (0)

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by