正在加载图片...
程序 Clc, clear, close al t0=0;tf=5;dt=0.05;t1=1; t-to: dt: tf; st=length(t) %(1)单位冲激信号 n1=floor((tl-to)/dt %B= floor(A) rounds the elements of a to the nearest integers less than or equal to A For complex a, the imaginary and real parts are rounded independentl xl=zeros(1, st); x1(n1=1/dt subplot(2, 2, 1), stairs(t, x1),grid on %将图形窗口分为2×2个子图,在第一个子图中绘制图形。 axis(0,5,0,22])• 程序 • Clc,clear,close all • t0=0;tf=5;dt=0.05;t1=1; • t=t0:dt:tf;st=length(t); • %(1)单位冲激信号 • n1=floor((t1-t0)/dt); • %B = floor(A) rounds the elements of A to the nearest integers less than or equal to A. • %For complex A, the imaginary and real parts are rounded independently. • x1=zeros(1,st);x1(n1)=1/dt; • subplot(2,2,1),stairs(t,x1),grid on • %将图形窗口分为2×2个子图,在第一个子图中绘制图形。 • axis([0,5,0,22])
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有