![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13876154_1539643652865_DEF.jpg)
David Akinpelu
Followers: 0 Following: 0
Feeds
提问
I want to solve a multi point boundary condition differential equation. I keep getting error on my Bvp4c line, I tried debugging it, but could resolve the error.
function rhs = bvp_rhs(x,T) rhs=[T(2); ((v/(2*a))^2)* T(1)]; function bc=bvp_bc(Tl,Tm,Tr) bc=[Tl(1);Tm(21);(1/k)*e^(vx/...
6 years 前 | 1 个回答 | 0
1
个回答提问
I am pretty new to MATLAB. I am try to use ode 45 to solve a differential equation arising from a multiple source boundary condition. I want to use a for loop for the boundary condition, but I guess I am missing something
function Temp = proj(x,h) b=h(1); g=h(2); v=20; a=0.5; k=45; q=5000; Temp(1,1)=g; for x=0:200 if ...
6 years 前 | 1 个回答 | 0