How to make a trajectory from position and Velocity data

3 次查看(过去 30 天)
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 个评论
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