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

eq (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: comparison

Requires: MathScript RT Module

Syntax

c = eq(a, b)

Description

Determines whether corresponding elements of two matrices are equal. eq(a, b) is equivalent to a==b.

Examples

Inputs

Name Description
a Specifies a scalar, vector, or matrix.
b Specifies a 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 corresponding elements of a and b are equal. Otherwise, the element is 0. c is a matrix of the same size as the larger of a and b.

Examples

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

Related Topics

ge
le
lt
ne


 

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