Version 1.0 (275 Bytes) by Aram Baghiyan
Calculate product of two quaternions
Updated 9 Feb 2015

View License

The quatprod(a,b) function returns the quaternion product of quaternions a and b. Here the inputs a and b are vectors of elements of quaternions respectively, e.g. a = [a0,a1,a2,a3] and b = [b0,b1,b2,b3]. It returns a vector of elements of the resulting quaternion f = [f0,f1,f2,f3]. Thus, a = a0+i*a1+j*a2+k*a3, b = b0+i*b1+j*b2+k*b3 and f = f0+i*f1+j*f2+k*f3.

Cite As

Aram Baghiyan (2024). quatprod(a,b) (https://www.mathworks.com/matlabcentral/fileexchange/49597-quatprod-a-b), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Quaternion Math in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes