meshgrid2d (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

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

Owning Class: geometry

Requires: MathScript RT Module

Syntax

[X, Y] = meshgrid2d(x)

[X, Y] = meshgrid2d(x, y)

Legacy Name: meshgrid

Description

Generates arrays that you can use to evaluate functions of two variables. [X, Y] = meshgrid2d(x) is equivalent to [X, Y] = meshgrid2d(x, x).

Examples

Inputs

Name Description
x Specifies points along the first dimension. x is a vector of real or complex numbers.
y Specifies points along the second dimension. y is a vector of real or complex numbers.

Outputs

Name Description
X Returns an m-by-l matrix, where l is the length of x and m is the length of y. The rows of X are copies of x.
Y Returns an m-by-l matrix. The columns of Y are copies of y.

Details

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 Yes

Examples

[X, Y] = meshgrid2d([1, 2, 3], [4, 5, 6, 7]);
[X, Y] = meshgrid2d([1, 2, 3])
[X, Y] = meshgrid2d([1, 2, 3]);

Related Topics

mesh
surface

文章是否对您有帮助?

没有帮助