f parameter in parabolic() heat equation example

I have just started using the PDE toolbox, I'm confused about the heat equation example in the documentation for the function parabolic().
In particular the last line in the example has parameter "f" set to 1:
u1=parabolic(u0,tlist,'squareb1',p,e,t,1,0,1,1);
Shouldn't f be zero for the equation du/dt = del^2 (u) ? If not, could you please clarify what the parameter f means for this specific example?
I'm using R2010a with PDE toolbox.
Thank you

답변 (1개)

Bill Greene
Bill Greene 2012년 1월 3일

0 개 추천

Robert,
It looks to me like you've found an error in the PDE Toolbox documentation. I agree with you that f should be zero for this example.
Bill

질문:

2011년 9월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by