Quaternion subtraction
Online calculator for subtracting quaternions
This page calculates the subtraction of two quaternions.
To calculate, enter the values of the quaternions and then click on the 'Calculate' button.
Empty fields count as 0.
|
Description
The quaternion represents a vector used to encode three-dimensional physical rotations. It is used to efficiently rotate an object around the (x,y,z) vector by angle theta, where the following applies:
w = cos(theta/2)
Components
W - The rotation component.
X - The X value of the vector component.
Y - The Y value of the vector component.
Z - The Z value of the vector component.
X - The X value of the vector component.
Y - The Y value of the vector component.
Z - The Z value of the vector component.
Subtraction
For subtraction, the individual components of the second quaternion are separated from the corresponding components in the first quaternion are subtracted.
\((w_1-w_2)+i(x_1-x_2)+j(y_1-y_2)+k(z_1-z_2)\)
Matrix 3x3 Functions
Addition • Subtraction • Multiplication • Scalar Multiplication • Rotation X axis • Rotation Y axis • Rotation Z axis • Y, P, R Rotation quaternion • Y, P, R Rotation Euler angles • Invert • DeterminantMatrix 4x4 Functions
Addition • Subtraction • Multiplication • Scalar Multiplication • Rotation X axis • Rotation Y axis • Rotation Z axis • Y, P, R Rotation • Vector Rotation • Invert • Determinant • interpolationQuaternion Functions
Addition • Subtraction • Division • Multiplication • Concatenate • Length • Interpolation • Normalize • Scalar Multiplication • Dot Product • Yaw-Pitch-RollMore Vector Functions
Addition • Subtraction • Multiplication • Scalar Multiplication • Division • Scalar Division • Dot Product • Cross Product • Interpolation • Distance • Distance Squaret • Normalization • Reflection • Magnitude • Squared-Magnitude • Triple-Product
|