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

📄 bes2f.m

📁 Programs for the book Advanced Engineering Mathematics using MATLAB, 2ndEd.
💻 M
字号:
function xdot=bes2f(t,x,flag,a,b)
%  CALL: xdot=bes2f(t,x,flag,a,b); Called by ode23. This function defines the second
%    order differential equation y''+b*exp(at)y = 0. flag is a dummy variable.
%           
%  The equation set is y''+b*exp(at)y = 0 using x1 = y  x2= y'
xdot = [0 1; - b*(exp(a*t)) 0]*x;
% xdot(1) = 0*x(1) + x(2);
% xdot(2) = - b*(exp(a*t))*x(1) ;
%
% Version 5 Output column vector



⌨️ 快捷键说明

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