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

📄 mp2cp.m

📁 机器人控制仿真程序一书的所有源代码
💻 M
字号:
function [cp] = mp2cp(m,p)
% MP2CP Convert magnitude/phase matrix to complex matrix.
%       CP=MP2CP(M,P) takes the magnitude/phase matrix and returns
%       the complex data in CP.
%
%       Rows and columns in the matrix correspond to cases and
%       frequencies, respectively.

% Author: Craig Borghesani
% 9/3/93
% Copyright (c) 1995-98 by The MathWorks, Inc.
%       $Revision: 1.4 $

cp = m.*exp(i*pi/180*p);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -