Description Usage Arguments Value Author(s) See Also Examples
isPureRotationMatrix
determines if a matrix is pure rotation matrix (proper orthogonal matrix) with det(m)==1.
isPureQuaternion
determines if a quaternion is a pure quaternion.
isRealQuaternion
determines if a quaternion is a real quaternion.
isUnitQuaternion
determines if a quaternion is a unit quaternion.
1 | isPureRotationMatrix(DCM, tol = 0.01)
|
DCM |
Direction Cosine Matrix (DCM) is a rotation matrix 3x3 (N=1) or an array 3x3xN. |
tol |
Tolerance value. |
Logical, TRUE = matrix is pure rotation matrix.
Jose Gama
1 2 3 4 5 | isPureRotationMatrix(matrix(rep(0,9),3,3,byrow=TRUE),.1)
isPureRotationMatrix(matrix(rep(1,9),3,3,byrow=TRUE),.1)
isPureRotationMatrix(matrix(c(0,0,-1,0,1,0,1,0,1),3,3,byrow=TRUE),.1)
DCMx10 <- DCMrandom(10)
isPureRotationMatrix(DCMx10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.