在 matlab 的 3d Plot 中绘制点(4x1)矩阵
plotting a point (4x1) matrix in 3d Plot on matlab
如何在 3D 中绘制 New_P
我正在使用机器人工具箱 peter corke
我应该使用 trplot() 函数,但它不起作用
它显示需要 3x3 或 4x4
以任何方式在 3d
上绘制它
P = transpose([2,3,4,0]);
New_P = trotx(45) * P
trplot(New_P)
请继续阅读 how to ask questions properly. If you read on trplot
,它显然是这样说的:
trplot(T, options)
draws a 3D coordinate frame represented by the
homogeneous transform T
(4x4).
和
trplot(R, options)
as above but the coordinate frame is rotated
about the origin according to the orthonormal rotation matrix R
(3x3).
我不知道 trtox
是如何定义的以及 trtox(45)
的 class 是什么,但是 P
是一个 4x1 向量,因此 New_P
很可能似乎不是 trplot
的正确输入,因此对输入大小的投诉。
如何在 3D 中绘制 New_P 我正在使用机器人工具箱 peter corke 我应该使用 trplot() 函数,但它不起作用 它显示需要 3x3 或 4x4 以任何方式在 3d
上绘制它 P = transpose([2,3,4,0]);
New_P = trotx(45) * P
trplot(New_P)
请继续阅读 how to ask questions properly. If you read on trplot
,它显然是这样说的:
trplot(T, options)
draws a 3D coordinate frame represented by the homogeneous transformT
(4x4).
和
trplot(R, options)
as above but the coordinate frame is rotated about the origin according to the orthonormal rotation matrixR
(3x3).
我不知道 trtox
是如何定义的以及 trtox(45)
的 class 是什么,但是 P
是一个 4x1 向量,因此 New_P
很可能似乎不是 trplot
的正确输入,因此对输入大小的投诉。