EPR Imaging Toolbox collection user manual |
hmatrix_rotate_about Create rotation matrix A = hmatrix_rotate_about(direction, angle) A = hmatrix_rotate_about(direction, angle, center) Create matrix for rotation by angle degrees about the specified direction direction - rotation axis (float, 1x3) angle - rotation angle (float, degrees) center - rotation center (float, 1x3) A - transformation matrix (float, 4x4) |