필터 지우기
필터 지우기

How to make a trajectory from position and Velocity data

조회 수: 5 (최근 30일)
Adam Levschuk
Adam Levschuk 2020년 6월 16일
댓글: David Hill 2020년 6월 17일
Hello, I feel that this is a very easy question and i am mad that i have not figured it out myself.
I have position data (euler angles) and the coraspinding angualr velcoity and i want to generate a 2xn variable with both these variables.
if i do...
plot(eulerAngles(:,2), gyr(:,2)) this plot gives me the trajectory that i am trying to create. How do i save this trajectory as a single variable?
thanks for your help.

채택된 답변

David Hill
David Hill 2020년 6월 17일
newVariable=[eulerAngles(:,2)';gyr(:,2)'];
  댓글 수: 4
Adam Levschuk
Adam Levschuk 2020년 6월 17일
ohhhh i see, thank you very mcuh david. very helpful!
Adam
David Hill
David Hill 2020년 6월 17일
If you are satisfied with the answer, accept it to close it out.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by