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

📄 reinf2_17.m

📁 离散控制系统设计的MATLAB 代码
💻 M
字号:
%%%%%%%%%%% Reinforcement Problem 2.17 %%%%%%%%%%%   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                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --- Complex poles on the unit circle ---%cleardisp('Reinforcement Problem 2.17')clearnumG = [1 0.3]                  % generate G(z) as TF objectdenG = [1 -2.4976 2.4232 -0.8796]G = tf(numG,denG,1)             % sampling period = 1.0 s[mag,theta] = xy2p(pole(G))     % magnitudes & angles of polesk = 0:40;                       % define vector of time pointsy = impulse(G,k);               % compute delta response of G(z)figurestem(k,y,'o');grid       title('Impulse response for Reinforcement Problem 2.17')xlabel('Time (s)')%%%%%%%%%%

⌨️ 快捷键说明

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