Quaternion Function Reference

ldivide

Quaternion left elementwise division (unimplemented operator)

Syntax

X .\ Y

Description

Quaternion left elementwise division is not implemented. This is because MATLAB® defines A ./ B to be the matrix with elements A(i, j)/B(i, j) and A .\ B to be the matrix with elements B(i, j)/A(i, j). This is not consistent with the ideas of left and right division in a non-commutative algebra, therefore it is not supported for quaternion arrays. The operator ./ implements elementwise division on the right, as expected, but to obtain elementwise division on the left multiply on the left by the elementwise inverse of B (this can be computed as conj(B) ./ (abs(B).^2) ).

© 2008-2013 Stephen J. Sangwine and Nicolas Le Bihan

License terms.