p5_16.m
来自「Advanced Engineering Mathematics using M」· M 代码 · 共 13 行
M
13 行
% P5_16.M Solve the equation D2y+3*Dy+2*y = U(t)% from t=0 to t=10 for the unit step input % (Requires Symbolic Math Toolbox)%cleary1=dsolve('D2y+3*Dy+2*y=1','y(0)=0','Dy(0)=0','t')%clfezplot(y1,[0,10]); title('Solution to D2y+3*Dy+2*y=U(t)')ylabel('y(t)')zoom
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?