正在加载图片...
正弦信号:x()=2sin(πt+0.2m) ◆clear; ☑Figure1 回 ◆0=-1;tf=3;t1=0; File Edit View Insert Tools Desktop Window Help 凸启日6®Q沙回早公,同口国口回 ◆dt=0.05; %采样间隔 正弦信号 ◆alphai=0.2*pi;w=pi 1.5 ◆t=[t0:dt:tf; %采样点向量 0.5 ◆x3=2*sin(w*t+alpha;%产1 0 ◆plot(t,x3);grid on%绘图 -0.5 xlabel('t);ylabel('x(t)); ◆title(正弦信号')月 -1.5 -0.5 0.5 1.5 2.5 3 10 教学网站:matlab.lct.cm教学网站: matlab.lctu.cn 正弦信号: clear; t0=-1; tf=3; t1=0; dt=0.05; %采样间隔 alpha=0.2*pi; w=pi; t=[t0:dt:tf]; %采样点向量 x3=2*sin(w*t+alpha); %产生正弦信号 plot(t,x3); grid on %绘图 xlabel('t'); ylabel('x(t)'); title('正弦信号'); x t t ( ) 2sin( 0.2 )     10
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有