relationaloperators (handle) - Equality and sorting of handle objects

Syntax

TF = eq(H1,H2)
TF = ne(H1,H2)
TF = lt(H1,H2)
TF = le(H1,H2)
TF = gt(H1,H2)
TF = ge(H1,H2)

Description

TF = eq(H1,H2)

TF = ne(H1,H2)

TF = lt(H1,H2)

TF = le(H1,H2)

TF = gt(H1,H2)

TF = ge(H1,H2)

For each pair of input arrays (H1 and H2), a logical array of the same size is returned in which each element is an element-wise equality or comparison test result. These methods perform scalar expansion in the same way as the MATLAB built-in functions. See relationaloperators for more information.

You can make the following assumptions about the result of a handle comparison:

See Also

handle, meta.class

  


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