Main Content

ne

Class: qrandstream

Not equal relation for handles

Syntax

h1 ~= h2

Description

Handles are equal if they are handles for the same object and are unequal otherwise.

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 ~= 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 = ne(h1, h2) stores the result in a logical array of the same dimensions.

See Also

| | | | |