How do you determine the origin, size and direction of arrows?

4 次查看(过去 30 天)
Given these two coordinates, how do I produce a figure of an arrow representing the force where
X = [x0 y0 z0] shows the position of the force
F = [Fx Fy Fz] shows the strength of the force

回答(1 个)

NISARGA G K
NISARGA G K 2018-4-9
I understand that given the position and strength of Force, you would like to plot an arrow representing the Force.You can use 'Quiver3' function.It displays vectors with components (u,v,w) at the points (x,y,z), where u, v, w, x, y, and z all have real (non-complex) values. For more information of the function refer the link below:
https://www.mathworks.com/help/matlab/ref/quiver3.html

类别

Help CenterFile Exchange 中查找有关 Vector Fields 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by