📄 angle.m
字号:
function theta = angle(q, a)% ANGLE or phase of quaternion.% (Quaternion overloading of standard Matlab function.)%% The second parameter is optional. If omitted, the result will always be% in the range (0, pi), that is, the quaternion q is regarded as being in% the upper half of a complex plane defined by the axis of q. A reference% unit quaternion defining the direction of the positive imaginary axis of% q may be supplied as the second parameter, in which case the result may% be in the full range from -pi to +pi.%% The optional argument must be either the same size as q or be a scalar% (in which case the same value is used for all elements of q).% Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -