f parameter in parabolic() heat equation example

1 次查看(过去 30 天)
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
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

类别

Help CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by