How to display quaternion number?

3 Ansichten (letzte 30 Tage)
hsgaya
hsgaya am 11 Jul. 2019
Kommentiert: hsgaya am 12 Jul. 2019
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?

Akzeptierte Antwort

John Doe
John Doe am 11 Jul. 2019
q = quaternion([1 2 3 4])
  5 Kommentare
John Doe
John Doe am 12 Jul. 2019
What are you trying to do?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Coordinate Transformations finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by