Main Content

gt

Class: qrandstream

Greater than relation for handles

Syntax

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

See Also

| | | | |