ex_2.m
来自「信号与系统分析以matlab实现」· M 代码 · 共 14 行
M
14 行
%ex6 p131
syms t
f=sym('2*heaviside(t)-heaviside(t-1)-heaviside(t-2)')
figure(1),ezplot(f,[-3 3]),grid on
f1=subs(f,t,-t)
f2=subs(f,t,t-2)
f3=subs(f,t,1-2*t)
f4=subs(f,t,1/2*t+1)
figure(2)
subplot(2,2,1),ezplot(f1,[-3,3]),grid on
subplot(2,2,2),ezplot(f2,[-3,6]),grid on
subplot(2,2,3),ezplot(f3,[-3,3]),grid on
subplot(2,2,4),ezplot(f4,[-3,3]),grid on
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?