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


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


"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.

