5
$\begingroup$

How do I express the matlab function abs(M), on a matrix $M$, in mathematical terms?

I thought about norms or just $|M|$, but these return scalars, not another matrix of the same size as $M$.

Sorry for the rough explanation, english isn't my primary language.

  • 1
    One speaks of taking the absolute value "componentwise" or "elementwise". I don't know of any other name or notation for this operation.2011-03-11

2 Answers 2

2

I think you can also denote the matrix M by giving its generic (i, j)-entry with parenthesis around:

M = (mij).

So Matlab's "abs(M)" would simply be: (|mij|).

1

'help abs' returns ABS(X) is the absolute value of the elements of X.

If $ M = [a _{ij}] $ where $a _{ij} \in R$, $i=1...m$ , $j=1..n$ Then $ABS(M) = [ABS(a _{ij})]$

Note: it's not a must for $a _{ij} \in R$ and can be also complex.