isocomplex.m

来自「这是支持在MATLAB中进行四元数(哈密顿数)的工具箱」· M 代码 · 共 12 行

M
12
字号
function z = isocomplex(q, a)% ISOCOMPLEX    Construct a complex number from a quaternion, with the same%               modulus and argument as those of the quaternion. The result%               will be in the upper half of the complex plane unless the%               second (optional) parameter is supplied - in this case, the%               optional parameter is a reference unit quaternion defining%               the direction of the positive imaginary axis of q.%               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 + =
减小字号Ctrl + -
显示快捷键?