Member of the basic class.
c = abs(a)
Computes the absolute values of the input elements. The absolute value of a complex number is equal to its magnitude, or the square root of the product of the number and its complex conjugate.
| Name | Description |
| a | Specifies a matrix. |
| Name | Description |
| c | Returns the absolute values of the elements in a. c is a real matrix of the same size as a. |
A = [1.3+2i, 4.2-3.7i; -2.9-1.6i, -5]
C = abs(A)