MATLAB: What does it mean plotAlongY(p,u,0) in “Nonlinear Heat Transfer in a Thin Plate” example

pde toolbox

Why there is no explanation about plotAlongY(p,u,0) definition in Matlab PDE Toolbox guide? And there is no easy way to plot u-solution versus x or y? How to plot u-solution versus x or y other than using plotAlongY?

Best Answer

If you have the toolbox, you can execute
edit plotAlongY
to see how the function is programmed. Feel free to extend it however you wish.
If you have a recent toolbox version, you can use pdeInterpolant or interpolateSolution. See the function reference pages, or even plot 3-D solutions for ideas.
Alan Weiss
MATLAB mathematical toolbox documentation
Related Question