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

📄 reinf3_15.m

📁 离散控制系统设计的MATLAB 代码
💻 M
字号:
%%%%%%%%%% Reinforcement Problem 3.15 %%%%%%%%%%%%   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                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   ---- Unstable open-loop system ----%cleardisp('Reinforcement Problem 3.15')Ts = 1;G = tf(1,conv([1 1.1],[12 -1]),Ts)  % forward path in TF formH = tf(100*[1 0.5],[15 -1],Ts)      % feedback path in TF formT = feedback(G,H)                   % closed-loop system[zT,pT,kT] = zpkdata(T,'v')         % CL zeros,poles,gain[magpT,thetapT] = xy2p(pT)          % polar form for CL polesdtime = 0:Ts:40;y = step(T,dtime);                  % compute step responsefigurestem(dtime,y,':','filled');grid     % plot step responsetitle('Step response for Reinforcement Problem 3.15')xlabel('Discrete time k')%%%%%%%%%%

⌨️ 快捷键说明

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