fig210.m
来自「realize analysis and design for computer」· M 代码 · 共 26 行
M
26 行
% Generates Fig 2.10 % Computer Controlled Systems (3rd ed)% Author: B. Wittenmark% Last edit: 1997-06-27% Copyright (c) 1996 by K. J. 舠tr鰉, B. Wittenmark and% Department of Automatic Control, Lund Institute of% Technology, Lund, Swedenblock210newplot;set(gcf,'PaperUnits','centimeters','PaperPosition',[2 2 13 10])set(gcf,'Units','centimeters','position',get(gcf,'PaperPosition'))lw=0.9;clf;%[t,x,y]=sim('block210',[0, 15]);subplot(2,1,1)plot(t,y,'k-','Linew',lw);%title(['Fig 2.10 Step response']);axis([0,15,0,1.3]);set(gca,'Fontsize',9,'Fontname','NewCenturySchlbk');set(gca,'xtick',[0 5 10 15],'ytick',[0 1]);xlabel('Time','Fontsize',9,'Fontname','NewCenturySchlbk')drawnow;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?