Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

pde_elliptic (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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.

Details

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

This function is not supported in the LabVIEW Run-Time Engine. Do not use this function in a stand-alone application or shared library.

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


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit