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일

0 개 추천

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일

0 개 추천

Thank you for your attention.

카테고리

도움말 센터File Exchange에서 Vector Fields에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by