Parametrizing surface in 3 D

11 ビュー (過去 30 日間)
Erdem Aktürk
Erdem Aktürk 2023 年 1 月 7 日
I have vector field in 3d and the equation of the vector is x+y+z=1 it is in the sym form.
And want it to be like z=1-y-z to parametrize it.
How can I do it?

採用された回答

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 1 月 8 日
You can use quiver3() fcn of MATLAB - see DOC.
And write a simple code, e.g.:
[X,Y] = meshgrid(-1:0.1:1,-2:0.2:2);
Z = 1-X-Y;
[U,V,W] = surfnorm(Z);
quiver3(X,Y, Z, U,V, W);

その他の回答 (1 件)

Erdem Aktürk
Erdem Aktürk 2023 年 1 月 8 日
Thank you for your attention.
  1 件のコメント
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 1 月 8 日
Most welcome aga!

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by