@eeqna |

Element equality comparison of two matrices

Syntax: @eeqna(m1, m2)

m1: matrix, vector

m2: matrix, vector

Return: matrix, vector

Returns the element by element test of equality between two matrix objects or syms. NAs are treated as ordinary values for purposes of comparison.

Each element of the returned matrix is equal to 1 or 0 depending on whether the corresponding element in m1 is equal to the corresponding element in m2.

Note m1 and m2 must be of identical dimensions.

Examples

matrix m3 = @eeqna(m1,m2)

Cross-references