作者polymerase (桥南荀令过,十里送衣香)
看板MATLAB
标题[讨论] rotation matrix A=y/x why wrong?
时间Wed Apr 29 03:24:08 2015
大家好,我想请问为什麽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
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 128.143.234.180
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/MATLAB/M.1430249050.A.618.html
1F:推 physbook: x=[1;2;3] ? 04/29 10:01
2F:推 sunev: A2^T*A2 ~= eye(3) 04/29 10:37
3F:→ tn00364361: 可以去查查matlab的left division跟right division到 04/30 12:43
4F:→ tn00364361: 底是在做什麽运算。 04/30 12:43