f parameter in parabolic() heat equation example

조회 수: 1 (최근 30일)
Robert
Robert 2011년 9월 29일
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에서 Boundary Conditions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by