"Torsten" wrote in message <firstname.lastname@example.org>... > "fatih " <email@example.com> wrote in message <firstname.lastname@example.org>... > > 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.