?? sampling.m
字號:
% Name: sampling.m
%
clear,close all,
t=-1:0.01:1;
n=-10:10;
x1=sin(pi*t)+sin(2*pi*t);
x2=sin(pi*n*0.1)+sin(2*pi*n*0.1);
subplot(221)
plot(t,x1)
%axis([0,2000,0,1.2])
grid on,title('The signal x(t)')
xlabel('Time t')
subplot(222)
stem(n,x2,'r.')
%axis([-5,5,0,1.2])
grid on,title('The sampled version of the signal x(t)')
xlabel('Time index n')
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -