Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Torsten
Posts:
1,577
Registered:
11/8/10


Re: Heat equation for Partial differential equation
Posted:
Jan 6, 2014 6:09 AM


"fatih " <mfatihk34@gmail.com> wrote in message <lae08a$3l8$1@newscl01ah.mathworks.com>... > "Torsten" wrote in message <ladulj$4nm$1@newscl01ah.mathworks.com>... > > "fatih " <mfatihk34@gmail.com> wrote in message <lads6r$g34$1@newscl01ah.mathworks.com>... > > > I want to solve a heat equation like this > > > > > > du/dt=d^2u/dx^2, > > > u(x,0)=sin(x), u(0,t)=0, u(1,t)=0 > > > > > > how can ? solve this equation with implicit finite difference method in matlab? > > > > Most probably you mean > > u(x,0)=sin(Pi*x). > > > > For the solution: > > help pdepe > > > > Best wishes > > Torsten. > > Thank you very much. Sorry, I have forgetten to write sin(pix) > > I look at pdepe.m code but it is expliciit numerical method. ? want to implicit n.m.
The ODE integrator underlying pdepe is Matlab's ODE15s which is implicit.
Best wishes Torsten.



