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

dlaplacian (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: vector

Requires: MathScript RT Module

Syntax

c = dlaplacian(a)

c = dlaplacian(a, d)

c = dlaplacian(a, dx, dy)

Legacy Name: del2

Description

Computes the discrete version of the Laplacian. The algorithm in this function works by extrapolating boundary conditions.

Details

Examples

Inputs

Name Description
a Specifies the values of the function for which you want to compute the Laplacian. a is a matrix.
d Specifies the spacing between points along the x- and y-axes, or between values of the first and second dimensions in a 2D array. d is an array of real, double-precision, floating-point numbers. The default is 1, or dx = dy = 1.
dx Specifies the spacing between points along the x-axis, or between values of the second dimension in a 2D array. dx is an array of real, double-precision, floating-point numbers. The default is 1.
dy Specifies the spacing between points along the y-axis, or between values of the first dimension in a 2D array. dy is an array of real, double-precision, floating-point numbers. The default is 1.

Outputs

Name Description
c Returns a matrix that represents the Laplacian scaled by 0.25.

Details

You can specify the spacing between the points of the dlaplacian function in two ways. If dx or dy contains only one element, the spacing between two consecutive points on the corresponding axis is constant. If dx or dy contains more than one element, the values of the elements specify the coordinates of the points on the corresponding axis. The length of dx or dy must therefore conform to the corresponding dimension of a.

Examples

A = peakfcn2d(30);
C = dlaplacian(A);
surface(C)

Related Topics

divergence
peakfcn2d
surface


 

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