cp2mp.m
来自「刘金琨老师作品」· M 代码 · 共 16 行
M
16 行
function [m,p] = cp2mp(cp)
% CP2MP Convert complex number to magnitude/phase.
% [M,P]=CP2MP(CP) takes the complex numbers matrix and returns
% the magnitude matrix in M and phase matrix in P. Magnitude is
% arithmetic and phase data is radians
%
% Rows and columns in a matrix correspond to cases and
% frequencies, respectively
% Author: Craig Borghesani
% 9/3/93
% Copyright (c) 1995-98 by The MathWorks, Inc.
% $Revision: 1.4 $
m = abs(cp); p = qatan4(cp);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?