Test handle equality
h1 == h2
tf = eq(h1, h2)
h1 == h2 performs element-wise comparisons
between handle arrays
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
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.