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

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

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the comparison class.

Syntax

c = gt(a, b)

Description

Determines whether elements of one matrix are greater than corresponding elements of another matrix. gt(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 greater than 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.

Examples

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

Related Topics

eq
ge
le
lt
ne


Resources


 

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