pde_elliptic (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: pde

Requires: MathScript RT Module

Syntax

z = pde_elliptic(top, right, bottom, left, function, range, n)

Legacy Name: pdeelliptic

Description

Uses four boundary conditions and a defining function to solve a Poisson equation over a square.

Examples

Inputs

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.

Outputs

Name Description
z Returns a matrix of real numbers that approximates the solution of the PDE for all grid points.

Details

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

Examples

Z = pde_elliptic('sin(pi*x)', '0', 'sin(2*pi*x)', '0', '10*cos(s)+t^2', [0, 2], 256);
contouris(Z)

Related Topics

ode_adams

文章是否对您有帮助?

没有帮助