필터 지우기
필터 지우기

2D vector plot from three Euler angles

조회 수: 12 (최근 30일)
Abhishek Saini
Abhishek Saini 2021년 6월 24일
댓글: Abhishek Saini 2021년 6월 24일
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일
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