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 Kommentare

KSSV
KSSV am 24 Jun. 2021
You want each vector to be of same length?
Abhishek Saini
Abhishek Saini am 24 Jun. 2021
Yes i want the vector length be same.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 24 Jun. 2021

0 Stimmen

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

1 Kommentar

Abhishek Saini
Abhishek Saini am 24 Jun. 2021
Thanks KSSV,
As i mentioned i have three Euler angles. May be I need to convert those first to rotation matrix.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Vector Fields finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020b

Gefragt:

am 24 Jun. 2021

Kommentiert:

am 24 Jun. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by