@emult |

Element maximums of two matrices.

Syntax: @emult(m1, m2)

m1: matrix, vector

m2: matrix, vector

Return: matrix, vector

Returns the element by element multiplication of two matrix objects or syms.

Each element of the returned matrix is equal to the corresponding element in m1 multiplied by the corresponding element in m2.

Note m1 and m2 must be of identical dimensions.

Examples

matrix m3 = @emult(m1, m2)

Cross-references