信号与系统_MATLAB基本实验.docVIP

  • 9
  • 0
  • 约6.6千字
  • 约 22页
  • 2019-11-10 发布于安徽
  • 举报
. . . . . 学习参考 《信号与系统MATLAB实践》第一次上机作业 实验一、熟悉MATLAB基本操作 三、基本序列运算 1.数组的加减乘除和乘方运算 A=[1 2 3]; B=[4 5 6]; C=A+B; D=A-B; E=A.*B; F=A./B; G=A.^B; subplot(2,4,1);stem(A) subplot(2,4,2);stem(B) subplot(2,4,3);stem(C) subplot(2,4,4);stem(D) subplot(2,4,5);stem(E) subplot(2,4,6);stem(F) subplot(2,4,7);stem(G) 2.绘制函数波形 (1)t=0:0.001:10 x=3-exp(-t); plot(t,x) ylabel(f(t)); xlabel(t); title((1)); (2)t=0:0.001:10 x=5*exp(-t)+3*exp(-2*t); plot(t,x) ylabel(f(t)); xlabel(t); title((2)); (3)t=0:0.001:3 x=exp(-t).*sin(2*pi*t); plot(t,x) ylabel(f(

文档评论(0)

1亿VIP精品文档

相关文档