How to put boundry limits in pde solver ?

i had solved a equation :
D*d2c/dz2=dc/dt
where D=10^9
boundry conditions are :
c=1 at z=0;
and
c=1/e^t at z=1;
i used pde solver to solve the equations i am having problem with putting the boundry conditons because boundry conditions given to me are not in differential form and i don't know how to relate it with the pde boundry condition equation.Here is the code that i wrote.

Answers (1)

pl = ul - 1.0;
ql = 0.0;
pr = ur - exp(-t);
qr = 0.0;
Best wishes
Torsten.

Asked:

on 7 Nov 2015

Answered:

on 9 Nov 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!