📄 reinf2_20.m
字号:
%%%%%%%%%%% Reinforcement Problem 2.20 %%%%%%%%%%% 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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --- Step response of first-order system ---%cleardisp('Reinforcement Problem 2.20')zz = 1pp = -0.5gn = 1G = zpk(zz,pp,gn,1) % G(z) as ZPK object w/ unity sampling period[y,k] = step(G);figurestem(k,y,'filled');grid % plot responsetitle('Step response for Reinforcement Problem 2.20: ')xlabel('Discrete time k')% G(z) has zero at z = 1; % transform of the step function is z/(z-1) which has a pole at z = 1% so the system zero cancels input pole, which means that the step% function does not appear in the response%%%%%%%%%%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -