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

📄 aliasing1.m

📁 经典《信号与系统》教程的matlab例程,对深入理解信号与系统相关概念有很大帮助
💻 M
字号:
% Name: aliasing.m
%
clear,close all,
t=-8:0.01:8;

w=pi;
ws=6*w/5;
Ts=2*pi/ws;
n=-8/Ts:8/Ts;
x=cos(pi*t);
x1=cos((ws-w)*t-1.2*pi/3);
xn=cos(pi*n*Ts);
subplot(221)
plot(t,x,'r:'),hold on,axis([-8,8,-1.2,1.2]),plot(t,x1,'b')
title('The signal x(t) and its samples x(nT)')
%subplot(223)
stem(2*n/1.2,xn,'k.'),
axis([-8,8,-1.2,1.2])

xlabel('Time t')

⌨️ 快捷键说明

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