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

📄 reinf2_4.m

📁 离散控制系统设计的MATLAB 代码
💻 M
字号:
%%%%%%%%%%% Reinforcement Problem 2.4 %%%%%%%%%%%%   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                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%	--- Fourth-order System with real poles ---%cleardisp('Reinforcement Problem 2.4')% Create G(z) as a discrete-time ZPK object % ... with unspecified sampling periodzz = [-0.3; -0.4+0.2i; -0.4-0.2i]pp = [-0.6; 0.3; 0.5; 0.6]kk = 5G = zpk(zz,pp,kk,-1)get(G)                    % Show properties of the ZPK LTI object[nn,dd] = tfdata(G,'v')   % num & den from the ZPK formGG = tf(G)			      % convert from ZPK form to TF form[z,p,k] = zpkdata(GG,'v') % zeros, poles, & gain from TF formfigureucircle                   % show unit circle in z-planehold onpzmap(GG)                 % draw pole-zero plothold offset_xo_size			      % make larger X's and O'stext('Units','norm','Pos',[0.02,0.95],'Str','Reinforcement Problem 2.4')%%%%%%%%%%

⌨️ 快捷键说明

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