xy2p.m

来自「ipr函数库与仿真实验程序,都是要用到的库函数。」· M 代码 · 共 19 行

M
19
字号
function [mag,theta] = xy2p(pp)% %%%%%%%%%%%%%%%%%%%% xy2p.m %%%%%%%%%%%%%%%%%%%%%%   Discrete-Time Control Problems using        %%       MATLAB and the Control System Toolbox   %%   by J.H. Chow, D.K. Frederick, & N.W. Chbat  %%         Brooks/Cole Publishing Company        %%                September 2002                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%mag = abs(pp);theta = angle(pp);disp([' magnitude  argument '])disp(' ---------------------')disp([mag  theta])disp(' ---------------------')disp(' ')%%%%%%%%%%

⌨️ 快捷键说明

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