To solve one-dimensional PDEs, the pdepe command is provided by MATLAB®. The command is designed to solve 1D PDE that can be presented in the following standard form:
General form of this equation solution is u as function of coordinate and time - u(x,t).
In accordance with the presented standard equation form, the pdepe command is intended to solve PDEs of the first or second order with respect to coordinate x. The solving PDE can be an equation of the elliptical or parabolic type, which are usually solved in mechanics. Some examples of PDEs and their adaptation to the standard equation are presented in Table 1.