le (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

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

Owning Class: comparison

Requires: MathScript RT Module

Syntax

c = le(a, b)

Description

Determines whether elements of one matrix are less than or equal to corresponding elements in another matrix. le(a, b) is equivalent to a<=b.

Examples

Inputs

Name Description
a Specifies the first scalar, vector, or matrix.
b Specifies the second scalar, vector, or matrix. b is the same size as a unless a or b is a scalar.

Outputs

Name Description
c Returns a matrix of Boolean values. An element in c is 1 if an element in a is less than or equal to the corresponding element in b. Otherwise, the element is 0. c is a matrix of the same size as the larger of a and b.

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 Not characterized

Examples

A = [134, 45, 232]
B = [453, 32, 134]
C = le(A, B)

Related Topics

eq
ge
lt
ne

文章是否对您有帮助?

没有帮助