2D vector plot from three Euler angles

11 次查看(过去 30 天)
Hi all,
I have x and y coordinates with three Euler angle(/theta, /phi,/Phi) for each location. I want to plot the vector plot to visualise the vector directions of a particular length. How can I do that in MATLAB?

回答(1 个)

KSSV
KSSV 2021-6-24
u = cos(theta) ;
v = sin(theta) ;
quiver(x,y,u,v)
  1 个评论
Abhishek Saini
Abhishek Saini 2021-6-24
Thanks KSSV,
As i mentioned i have three Euler angles. May be I need to convert those first to rotation matrix.

请先登录,再进行评论。

类别

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

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by