Thank you for your reply!


You said 3x3 matrix. In my case, I got the rotation matrix like the figure above and I got the number of 4x4 matrix.
[[ 2.1219860e-01  9.1372589e-03 -1.4462248e-02 -1.1527188e+02]
[-9.1041764e-03  2.1220960e-01  1.0911685e-02 -9.0879768e+01]
[ 3.1687310e-03 -2.1837775e-03  9.9983585e-01 -7.8977943e+01]
[ 0.0000000e+00  0.0000000e+00  0.0000000e+00  1.0000000e+00]]
Perhaps the above matrix is correct.
Can you please help me apply 4x4 matrix to 3d array again?