quatexp

Exponential of quaternion

Description

example

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

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 an M-by-4 matrix containing M quaternions.

Data Types: double

Output Arguments

collapse all

Exponential of quaternion.

Introduced in R2016a