C = A - B
subtracts quaternion B from quaternion A
using quaternion subtraction. Either A or
B may be a real number, in which case subtraction is
performed with the real part of the quaternion argument.
Addition and subtraction of real numbers is defined for quaternions as acting on the real part of the quaternion. Create a quaternion and then subtract 1 from the real part.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.