[讨论] rotation matrix A=y/x why wrong?

楼主: polymerase (桥南荀令过,十里送衣香)   2015-04-29 03:24:08
大家好,我想请问为什么A1 and A2都可以把x rotate到y但是
A1 ~= A2
A2是由y/x算出来的,是否也叫做rotation matrix?
clear all
clc
x=[1
2
3]
%A1 is rotation matrix copied from wikipedia to rotate 30 degree around X
A1=[ 1.0000 0 0
0 0.8660 0.5000
0 -0.5000 0.8660]
% y is the rotated matrix
y1=A1*x
% A2 is y/x
A2=y1/x
% A2*x can recover y from x.
y2=A2*x
y2==y1
% but A2 is different then A1.
A2==A1
作者: physbook (路克)   2015-04-29 10:01:00
x=[1;2;3] ?
作者: sunev (Veritas)   2015-04-29 10:37:00
A2^T*A2 ~= eye(3)
作者: tn00364361 (小氵斿)   2015-04-30 12:43:00
可以去查查matlab的left division跟right division到底是在做什么运算。

Links booklink

Contact Us: admin [ a t ] ucptt.com