⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cp2mp.m

📁 机器人控制仿真程序一书的所有源代码
💻 M
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -