📄 c2ex8.m
字号:
% Example 2-8%del_t = .005;t = -2:del_t:4;L = length(t);tp = [2*t(1):del_t:2*t(L)];x = 2*(pls_fn(t+.5)-pls_fn(t-.5));h = .5*rmp_fn(t).*stp_fn(2-t);y = del_t*conv(x, h);subplot(3,1,1), plot(t, x), xlabel('t'), ylabel('x(t)'), axis([t(1) t(L) -3 3])subplot(3,1,2), plot(t, h), xlabel('t'), ylabel('h(t)'), axis([t(1) t(L) 0 2])subplot(3,1,3), plot(tp, y),xlabel('t'), ylabel('y(t)'), axis([t(1) t(L) -2 2])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -