MATLAB: Problem with “pdepe”

pdepdepepdepe boundary conditions complex

I am trying to solve a following problem: (1+2/(1+q(x,t))^2) * dq(x,t)/dt=D*d/dx(dq(x,t)/dx)
In a published paper, I found that it is solved by Solve initial-boundary value problems for parabolic-elliptic PDEs in 1-D. But the complication comes the q(x,t) is outside the derivative. I don't found any example for this kind of problem. However, I tried few way but failed.
I appreciate any help

Best Answer

Set the coefficient c in "pdepe" to 1+2./(1+u.^2).
Best wishes
Torsten.
Related Question