f parameter in parabolic() heat equation example

1 visualización (últimos 30 días)
Robert
Robert el 29 de Sept. de 2011
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

Respuestas (1)

Bill Greene
Bill Greene el 3 de En. de 2012
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

Community Treasure Hunt

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

Start Hunting!

Translated by