[討論] rotation matrix A=y/x why wrong?
大家好,我想請問為什麼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://www.ptt.cc/bbs/MATLAB/M.1430249050.A.618.html
推
04/29 10:01, , 1F
04/29 10:01, 1F
推
04/29 10:37, , 2F
04/29 10:37, 2F
→
04/30 12:43, , 3F
04/30 12:43, 3F
→
04/30 12:43, , 4F
04/30 12:43, 4F
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章