...don;>>xlabel(39;Time(sec)39;),ylabel(39;f(t)39;);>>title(39;频率为100Hz的正弦脉冲信号39;);>>N=500;>>k=-N:N;>>W=2*pi*k/((2*N+1)*dt);>>Fw=dt*ft*exp(-j*t139;*W);>>subplot(222);>>plot(W,abs(Fw)),gridon;>>xlabel(39;\o...
时间:2024-04-29 08:35栏目:教案课件
...z(b,a,N);x=[ones(1,5),zeros(1,N-5)];y=filter(b,a,x);subplot(1,2,1);stem(h);title(39;直线型h(n)39;);subplot(1,2,2);stem(y);title(39;直线型y(n)39;);程序运行成果:2.级联形式①impseq.mfunction[x,n]=impseq(n0,ns,nf)n=[ns:nf];x=[(n-n0)==0];②casfilter.mfunctiony=casfilter(b0...
时间:2024-04-11 01:31栏目:读后感
...-1];f=1/16;signal1=5*sin(2*pi*n/8);figure(1);subplot(3,1,1)stem(n,signal1);title('信号1');xlabel('n');ylabel('y(n)');axis([015-66])long_M=5;signal2=ones(1,long_M);subplot(3,1,2)stem(signal2);title('信号2');xlabel('n');ylabel('y(n)');axis([06-22]);gridon;long_N=length(signal1);fk=zeros(0,long_N+l...
时间:2024-04-10 19:26栏目:教案课件
...制cos(0t)、cos(30t)、cos(50t)和x(t)的波形图,给图形加title,网格线和x坐标标签,并且程序能够接受从键盘输入的和式中的项数。抄写程序Q3_1如下:clear,%Clearallvariablescloseall,%Closeallfigurewindowsdt=0.00001;%Specifythestepoftimevariablet=-2:d...
时间:2024-04-26 15:35栏目:教案课件
...*pi*t);%计算函数f(t)=sinc(t)*cos(20*pi*t)plot(t,f);%绘制f(t)的波形title(”sinc(t)*cos(20*pi*t)”);%加注波形标题运行结果:2二、系统时域的仿真分析2.1实现卷积f(t)*h(t),其中:f(t)2[(t)(t1)],h(t)(t)(t2)mp=0.01;%取样时间...
时间:2024-03-28 21:27栏目:教育交底
...t,39;-*39;);legend(39;预测输出39;,39;期望输出39;)title(39;BP网络预测输出39;,39;fontsize39;,12)ylabel(39;函数输出39;,39;fontsize39;,12)xlabel(39;样本39;,39;fontsize39;,12)%预测误差error=BPoutput-output_test;figure(2)plot(er...
时间:2024-03-31 19:20栏目:教育交底
...*conv(x,h);%Computetheconvolutionofx(t)andh(t)subplot(221)plot(t,x),gridon,title(39;Signalx(t)39;),axis([t0,t1,-0.2,1.2])subplot(222)plot(t,h),gridon,title(39;Signalh(t)39;),axis([t0,t1,-0.2,1.2])subplot(212)t=2*t0:dt:2*t1;%Againspecifythetimerangetobesuitabletothe%convolutionofxandh.plo...
时间:2024-04-29 20:21栏目:教案课件
...9;n39;);ylabel(39;h(n)39;);figure(2)[z,p,g]=tf2zp(b,a);zplane(z,p)title(39;零极点39;);function[x,n]=chongji(n1,n2)n=[n1:n2];x=[n==0];functionshiyan1()a=[1,-1,0.9];b=1;x=chongji(-20,120);n=-20:120;h=filter(b,a,x);figure(1)stem(n,h);title(39;冲击响应39;);实验1-2运行结...
时间:2024-04-01 00:04栏目:教育交底
....Yoursincerely,通讯作者(2)DearDr.主编name:Wesubmitourmanuscriptentitled"文章title"to杂志名forpublication.接着简单介绍你文章的主要创新点和意义,不易过多,但要突出新意和关键点。Allauthorshaveseenthemanuscriptandapprovedtosubmittoyourjournal.T...
时间:2024-04-30 08:31栏目:教案课件
...pi/10:2*pi;y=2*sin(x);>>subplot(2,2,1);bar(x,y,39;g39;)>>title(39;bar(x,y,"g")39;);axis([0,7,-2,2]);>>subplot(2,2,2);stairs(x,y,39;b39;)>>title(39;stairs(x,y,"b")39;);axis([0,7,-2,2]);>>subplot(2,2,3);stem(x,y,39;k39;)&g...
时间:2024-05-20 20:32栏目:教案课件