![](https://csdnimg.cn/release/download_crawler_static/87789995/bg9.jpg)
信号与系统 Matlab 实验作业
n=-7:14;
x=sin(pi/7*n);
stem(n,x);
title('x[n]=sin(\Omega_0n) 正弦序列');
5)画出复指数序列
x[n] e
j
n/6
与
x[n] e
j3n
的实部与虚部(-50≤n≤50)。
n=-50:50;
figure(1)
x1=cos(pi/6*n);stem(n,x1);
title('cos(n\pi/6) 实部');
figure(2)
x2=sin(pi/6*n);stem(n,x2);
title('sin(n\pi/6) 虚部');
figure(3)
x3=cos(3*n);stem(n,x3);
title('cos(3*n) 实部');
figure(4)
x4=sin(3*n);stem(n,x4);
title('sin(3*n) 虚部');