?? example7_1.m
字號(hào):
% Name: aliasing.m
%
clear,close all,
t=-10:0.01:10;
a=2*pi/3;
w=pi;
ws=2*w;
Ts=2*pi/ws;
n=-10/Ts:10/Ts;
x=cos(pi*t+a);
x1=cos(a)*cos(pi*t);
xn=cos(pi*n*Ts+a);
subplot(211)
plot(t,x,'r'),hold on,axis([-10,10,-1.2,1.2]),plot(t,x1,'b')
title('The reconstruction of signal x(t)')
%subplot(223)
stem(n,xn,'k.'),
axis([-10,10,-1.2,1.2])
xlabel('Time t')
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -