Element less than or equal to tests of two matrices.

Syntax: @ege(m1, m2)

m1: matrix, vector

m2: matrix, vector

Return: matrix, vector

Returns a test for whether the elements in the matrix or sym 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

matrix m3 = @ele(m1,m2)

Cross-references