How to display quaternion number?

조회 수: 2 (최근 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?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Coordinate Transformations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by