Element by element less than or equal to tests of data objects.

Syntax: @ege(m1, m2)

m1: numeric or alphanumeric object

m2: numeric or alphanumeric object

Return: vector or matrix object

Returns a test for whether the elements in the data object m1 are greater than or equal to the corresponding elements in m2.

Each element of the returned matrix is equal to 1 or 0 depending on the outcome of the comparison.

Note m1 and m2 must be of identical dimensions.

Examples

Let X and Y be matrices. Then

= @ele(X, Y)

returns an binary matrix indicating places where X is less than or equal to Y.

Cross-references