Learn R Programming

RSpincalc (version 1.0.2)

QangularDifference: Angular difference between 2 quaternions

Description

QangularDifference returns the angular difference between 2 quaternions.

Usage

QangularDifference(Q1, Q2)

Arguments

Q1
Quaternion (Q) vector [q1, q2, q3, q4].
Q2
Quaternion (Q) vector [q1, q2, q3, q4].

Value

Examples

Run this code
Q1 <- Qrandom()
Q2 <- Qrandom()
QangularDifference(Q1, Q2)

Run the code above in your browser using DataLab