发布网友 发布时间:2022-04-23 09:36
共2个回答
热心网友 时间:2023-09-25 07:36
matlab中angle用来求复数矩阵相位角的弧度值,其取值为-pi到pi。
示例:
Z = [ 1 - 1i 2 + 1i 3 - 1i 4 + 1i得到的结果为:
P =angle采用的算法:angle(z) = imag(log(z)) = atan2(imag(z), real(z)).
详情可参考help angle
热心网友 时间:2023-09-25 07:37
P = angle(Z) returns the phase angles, in radians, for each element of complex array Z. The angles lie between . For complex Z, the magnitude R and phase angle theta are given by R = abs(Z)