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

📄 reinf2_3.m

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

⌨️ 快捷键说明

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