Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

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

qrandstream, ge, gt, le, lt, ne

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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