Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

curl (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: vector

Requires: MathScript RT Module

Syntax

[curlz, cav] = curl(Fx, Fy)

[curlz, cav] = curl(dx, dy, Fx, Fy)

Description

Computes the curl and the curl angular velocity of a two-dimensional vector field.

Details

Examples

Inputs

Name Description
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 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 double-precision, floating-point numbers. The default is 1.
Fx Specifies the x-components of a two-dimensional vector field. Fx is a 2D array of double-precision, floating-point numbers.
Fy Specifies the y-components of a two-dimensional vector field. Fy is a 2D array of double-precision, floating-point numbers and must be the same size as Fx.

Outputs

Name Description
curlz Returns the z-components of the curl of the vector field. curlz is of the same dimension and data type as Fx.
cav Returns the curl angular velocity of the vector field. cav is of the same dimension and data type as Fx.

Details

You can specify the spacing between the points of the curl in two ways. If dx or dy contains only one element, the spacing between two consecutive points in 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 in the corresponding axis. The length of dx or dy must therefore conform to the corresponding dimension of the vector field.

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

FX = rand(3, 4);
FY = rand(3, 4);
[CURLZ, CAV] = curl(1:4, 1:3, FX, FY);

Related Topics

divergence
dlaplacian


 

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