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