필터 지우기
필터 지우기

How do I map a horizontal component of any vector?

조회 수: 1 (최근 30일)
JMS
JMS 2015년 3월 24일
댓글: James Tursa 2015년 3월 24일
Hello,
If I have a velocity or any vector, how do I map the horizontal component or vertical one separately? Is it possible?
Thanks in advance!

답변 (1개)

James Tursa
James Tursa 2015년 3월 24일
Not at all sure what you mean. If you have a velocity vector v that is a 3-element vector, where the third element is the vertical direction, then the horizontal part would be v(1:2) and the vertical part would be v(3). If v is in a different coordinate system where the third element is not the vertical, then you will have to do a coordinate transformation first.
  댓글 수: 2
JMS
JMS 2015년 3월 24일
Ok, let us suppose for the same x,y point I have Vx (horizontal) and Vy (vertical) components, which means something like Vx=V cos(theta), and Vy=V sin(theta). So, now how to map the Vx or Vy components separately? Or still not obvious?
James Tursa
James Tursa 2015년 3월 24일
It is now obvious you are working on a plane, and that x is horizontal and y is vertical. But it is not obvious what you mean by "map the Vx or Vy components separately". I would assume v(1) would be Vx and v(2) would be Vy. You need to supply more details about what you mean.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by