2D vector plot from three Euler angles

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?

2 个评论

You want each vector to be of same length?
Yes i want the vector length be same.

请先登录,再进行评论。

回答(1 个)

u = cos(theta) ;
v = sin(theta) ;
quiver(x,y,u,v)

1 个评论

Thanks KSSV,
As i mentioned i have three Euler angles. May be I need to convert those first to rotation matrix.

请先登录,再进行评论。

类别

在 帮助中心 和 File 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