Download Help (Windows Only) |
Owning Class: pde
Requires: MathScript RT Module
z = pde_elliptic(top, right, bottom, left, function, range, n)
Legacy Name: pdeelliptic
Uses four boundary conditions and a defining function to solve a Poisson equation over a square.
Name | Description |
---|---|
top | Specifies the top boundary condition. top is a string that represents a 1D function of one variable. |
right | Specifies the right boundary condition. right is a string that represents a 1D function of one variable. |
bottom | Specifies the bottom boundary condition. bottom is a string that represents a 1D function of one variable. |
left | Specifies the left boundary condition. left is a string that represents a 1D function of one variable. |
function | Specifies a function that defines the heat equation. function is defined over the entire square and depends on two variables. function is a string that represents a 2D function. |
range | Specifies the location of the square. range is a two-element vector [a, b] where a and b are real numbers and a must be less than b. |
n | Specifies the number of grid-points for each of the two axes. |
Name | Description |
---|---|
z | Returns a matrix of real numbers that approximates the solution of the PDE for all grid points. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | No |
Supported on RT targets | Yes |
Suitable for bounded execution times on RT | Not characterized |
Z = pde_elliptic('sin(pi*x)', '0', 'sin(2*pi*x)', '0', '10*cos(s)+t^2', [0, 2], 256);
contouris(Z)