필터 지우기
필터 지우기

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

조회 수: 4 (최근 30일)
M
M 2022년 7월 31일
댓글: M 2022년 7월 31일
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.

채택된 답변

Walter Roberson
Walter Roberson 2022년 7월 31일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by