How to display quaternion number?
Show older comments
Hello,
I want to dispaly a quaternion number as q= 1+2i+3j+4k .But the code is not working.
Here the code;
q=quaternion(1,2,3,4);
this is the error;
Undefined function 'quaternion' for input arguments of type 'double'.
Anybody can help me please?
Accepted Answer
More Answers (0)
Categories
Find more on Coordinate Transformations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!