How to display quaternion number?

1 回表示 (過去 30 日間)
hsgaya
hsgaya 2019 年 7 月 11 日
コメント済み: hsgaya 2019 年 7 月 12 日
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?

採用された回答

John Doe
John Doe 2019 年 7 月 11 日
q = quaternion([1 2 3 4])
  5 件のコメント
John Doe
John Doe 2019 年 7 月 12 日
What are you trying to do?
hsgaya
hsgaya 2019 年 7 月 12 日

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by