How to display quaternion number?

2 visualizaciones (últimos 30 días)
hsgaya
hsgaya el 11 de Jul. de 2019
Comentada: hsgaya el 12 de Jul. de 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?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Coordinate Transformations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by