📄 ex9_10.m
字号:
% EX9_10.M Plot the impulse and step response for the equation
% D2y + 3*Dy + 2*y = f(t)
%
t=[0:.01:10];
ydelta = exp(-t)-exp(-2*t);
ystep = .5 - exp(-t) + 0.5*exp(-2*t);
plot(t,ydelta,t,ystep,'--')
xlabel('t')
ylabel('Response')
legend('Impulse response', 'Step response')
title('Differential equation solutions')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -