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

del2 (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the vector class.

Syntax

c = del2(a)

c = del2(a, d)

c = del2(a, dx, dy)

Description

Computes the discrete version of the Laplacian scaled by 0.25. The algorithm in this function works with cyclic boundary conditions.

Examples

Inputs

Name Description
a Specifies a matrix.
d Specifies the resolution in x and y. The default is 1, or dx = dy = 1.
dx Specifies the resolution in x. dx is a positive scalar. The default is 1.
dy Specifies the resolution in y. dy is a positive scalar. The default is 1.

Outputs

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

Examples

A = peaks(30);
C = del2(A);
surf(C)

Related Topics

divergence
peaks
surf


Resources


 

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