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 件のコメント

KSSV
KSSV 2021 年 6 月 24 日
You want each vector to be of same length?
Abhishek Saini
Abhishek Saini 2021 年 6 月 24 日
Yes i want the vector length be same.

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2021 年 6 月 24 日

0 投票

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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeVector Fields についてさらに検索

製品

リリース

R2020b

質問済み:

2021 年 6 月 24 日

コメント済み:

2021 年 6 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by