Borrar filtros
Borrar filtros

2D vector plot from three Euler angles

12 visualizaciones (últimos 30 días)
Abhishek Saini
Abhishek Saini el 24 de Jun. de 2021
Comentada: Abhishek Saini el 24 de Jun. de 2021
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 comentarios
KSSV
KSSV el 24 de Jun. de 2021
You want each vector to be of same length?
Abhishek Saini
Abhishek Saini el 24 de Jun. de 2021
Yes i want the vector length be same.

Iniciar sesión para comentar.

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Vector Fields en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by