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

📄 ex5_14.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% EX5_14.M Verify Example 5.14 using dsolve%  Dx1=x1+exp(t); Dx2=-x1 +3*x2;  In result x=x1, y=x2.% (This requires Symbolic Math Toolbox)fprintf('Solution of system of Example 5.14 x=x1,y=x2 \n')[x,y]=dsolve('Dx=x+exp(t)','Dy=-x+3*y+1')fprintf('Strike a key to continue \n')pausefprintf('Solve system with initial conditions \n')[x,y]=dsolve('Dx=x+exp(t)','Dy=-x+3*y+1','x(0)=2,y(0)=1')%% Experiment a bit with other possibilities %  for initial conditions or another systemformat compact

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -