FUNCTION REFERENCE
del2
Discrete Laplacian.
Discrete Laplacian.
Syntax
L = del2(U)Syntax
L = del2(U, h)Syntax
L = del2(U, hx, hy)Returns (d2U/dx2 + d2U/dy2)/4 with second differences inside and linear
extrapolation at the edges; a dimension with fewer than three points adds 0.
Example
del2([1 4 9 16 25]) % [0.5 0.5 0.5 0.5 0.5]Differences from MATLAB: scalar spacings only; 2-D arrays only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.