eul2rotm([alpha,beta,gamma])
Features
This function transforms a Euler angle (zyz order) to a rotation matrix.
Parameters
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
eul | float[3] | [0 0 0] | Euler angle (zyz) [deg] |
Return
Value | Description |
---|---|
float[3][3] | Rotation matrix |
Exception
Exception | Description |
---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data type error occurred |
Example
eul = [90, 90, 0]
rotm = eul2rotm (eul)