⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example7_1.m

📁 经典《信号与系统》教程的matlab例程,对深入理解信号与系统相关概念有很大帮助
💻 M
字号:
% 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')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -