Clear Filters
Clear Filters

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

2 views (last 30 days)
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

Answers (1)

NISARGA G K
NISARGA G K on 9 Apr 2018
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

Categories

Find more on Vector Fields in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!