conj
四元数の複素共役
説明
は quaternion quatConjugate
= conj(quat
)quat
の複素共役を返します。
の場合、q の複素共役は です。共役は回転演算子と見なされ、逆回転を実行します。次に例を示します。
q = quaternion(deg2rad([16 45 30]),"rotvec");
a = q*conj(q);
rotatepoint(a,[0,1,0])
ans = 0 1 0
例
四元数の複素共役
quaternion スカラーを作成し、複素共役を求めます。
q = normalize(quaternion([0.9 0.3 0.3 0.25]))
q = quaternion
0.87727 + 0.29242i + 0.29242j + 0.24369k
qConj = conj(q)
qConj = quaternion
0.87727 - 0.29242i - 0.29242j - 0.24369k
quaternion にその共役を乗じると quaternion one が返されることを確認します。
q*qConj
ans = quaternion
1 + 0i + 0j + 0k
入力引数
quat
— 四元数
quaternion
オブジェクト | quaternion
オブジェクトの配列
共役を求める四元数。quaternion
オブジェクト、または任意の次元の quaternion
オブジェクトの配列として指定します。
出力引数
拡張機能
C/C++ コード生成
MATLAB® Coder™ を使用して C および C++ コードを生成します。
バージョン履歴
R2018a で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)