Elements greater than tests of two matrices

Syntax: @egt(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 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 = @egt(m1, m2)

Cross-references