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

📄 reinf2_16.m

📁 离散控制系统设计的MATLAB 代码
💻 M
字号:
%%%%%%%%%%% Reinforcement Problem 2.16 %%%%%%%%%%%   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                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --- Pole at z = -1 ---%cleardisp('Reinforcement Problem 2.16')numG = [1 0.2 0.7 0.2]          % generate G(z) as TF objectdenG = [1 0.1 -0.62 0.24 -0.04]G = tf(numG,denG,1)             % sampling period = 1.0 spG = pole(G)                    % poles of G[pp,theta] = xy2p(pG)           % magnitudes & angles of polesk = 0:20;y = impulse(G,k);               % compute delta response of G(z)figurestem(k,y,'filled');grid       title('Impulse response for Reinforcement Problem 2.16')xlabel('Time (s)')%%%%%%%%%%

⌨️ 快捷键说明

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