Main Content

quatexp

Exponential of quaternion

Syntax

Description

example

qe=quatexp(q)calculates the exponential,qe, for the specified quaternion,q.

Aerospace Toolboxuses quaternions that are defined using the scalar-first convention.

Examples

collapse all

Calculate the exponentials of quaternion matrix[0 0 0.7854 0].

qe = quatexp([0 0 0.7854 0])
qe = 0.7071 0 0.7071 0

Input Arguments

collapse all

Quaternions for which to calculate exponentials, specified as anM4矩阵containingMquaternions.

Data Types:double

Output Arguments

collapse all

Exponential of quaternion.

References

[1] Dam, Erik B., Martin Koch, Martin Lillholm. "Quaternions, Interpolation, and Animation." University of Copenhagen, København, Denmark, 1998.

Version History

Introduced in R2016a