Generate uniform random unit quaternions

Description

Qrandom generates uniform random unit quaternions.

Usage

1

Arguments

n

Optional integer for the number of generated quaternions, default = 1.

Value

Q

Uniform random unit quaternion (Q) vector [q1, q2, q3, q4] or matrix n x 4.

Author(s)

Jose Gama

Examples

1
2

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.