function T = my_camera(v) R = rotation_matrix(v(1:3)); pos = v(4:6); T = [R -R*pos(:)];
Published with MATLAB® 7.9