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

📄 ex9_10.m

📁 Programs for the book Advanced Engineering Mathematics using MATLAB, 2ndEd.
💻 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 + -