Skip to Main Content Skip to Search
Product Documentation

eq - Class: qrandstream

Test handle equality

Syntax

h1 == h2
tf = eq(h1, h2)

Description

h1 == h2 performs element-wise comparisons between handle arrays h1 and h2. h1 and h2 must be of the same dimensions unless one is a scalar. The result is a logical array of the same dimensions, where each element is an element-wise equality result. If one of h1 or h2 is scalar, scalar expansion is performed and the result will match the dimensions of the array that is not scalar.

tf = eq(h1, h2) stores the result in a logical array of the same dimensions.

See Also

ge | gt | le | lt | ne | qrandstream

  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS