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

📄 signalp4_25.m

📁 经典《信号与系统》教程的matlab例程,对深入理解信号与系统相关概念有很大帮助
💻 M
字号:
clear,close all;
t=-3:0.01:5;
x=2*(u(t+1)-u(t))+(2-t).*(u(t)-u(t-1))+t.*(u(t-1)-u(t-2))+2*(u(t-2)-u(t-3));
x1=2*(u(-t+1)-u(-t))+(2+t).*(u(-t)-u(-t-1))-t.*(u(-t-1)-u(-t-2))+2*(u(-t-2)-u(-t-3));
y=x.*x;
xe=0.5*(x+x1);
subplot(221)
plot(t,x)
axis([-4,4,0,4.5])
subplot(222)
plot(t,y)
axis([-4,4,0,4.5])
subplot(223)
plot(t,xe)
axis([-4,4,0,4.5])

⌨️ 快捷键说明

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