Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
给定一些具有恒定加速度 A 的 3 x 3 旋转矩阵,我想找到三个方向的分量加速度,即 Ax、Ay、Az。
虽然“重新发明轮子”并不难,但我想知道是否已经有一个 Matlab 函数可以做到这一点,特别是在航空航天工具箱中?
NxN 旋转矩阵具有 N (N-1) / 2 个嵌入角度。将单位右手定则坐标系旋转到 R 的方向需要这么多次旋转。在你的情况下,有三个角度。
不,Matlab 没有这样的内置函数。我也自己动手了。注意你需要的 arc-tan,当然要使用 atan(y, x) 形式,这样你就不会失去 180 度的旋转。
旋转矩阵始终是相对信息,可能它给出了相对于 [1 0 0] 的方向。要获得组件,您必须乘以:
R*[A;0;0]