absΒΆ

abs calculates the absolute value of its argument.

mAbs = abs(m)

Return Value

mAbs is the absolute value of the matrix m.

Parameters

m

m is a real or complex matrix.

Example

abs(-1)
    1.0000
abs(1+2i)
    2.2361

id-2042236