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

📄 fig73.m

📁 realize analysis and design for computer-controlled system
💻 M
字号:
% Generates Fig 7.3% Computer Controlled Systems (3rd ed)% Author: B. Wittenmark% Last edit: 1997-07-05% Copyright (c) 1996 by K. J. 舠tr鰉, B. Wittenmark and% Department of Automatic Control, Lund Institute of% Technology, Lund, Swedennewplot;set(gcf,'PaperUnits','centimeters','PaperPosition',[2 2 13 10])set(gcf,'Units','centimeters','position',get(gcf,'PaperPosition'))lw=0.9;h=1;eps=0.001;n=500;dt=30/n;imp=zeros(1,n+1);t=zeros(1,n+1);for i=1:n+1  t(i)=-15+dt*(i-1);  if abs(pi*t(i)/h)<eps imp(i)=1; else imp(i)=sin(pi*t(i)/h)/(pi*t(i)/h);end;  end;%clf;subplot(3,1,1);plot(t,imp,'k-','Linew',lw)%title(['Fig 7.3 Shannon reconstruction']);axis([-15,15,-0.4,1.2]);set(gca,'Fontsize',9,'Fontname','NewCenturySchlbk');set(gca,'xtick',[-10 0 10]);set(gca,'ytick',[0 1]);xlabel('Time','Fontsize',9,'Fontname','NewCenturySchlbk');

⌨️ 快捷键说明

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