Owning Class: basic
Requires: MathScript RT Module
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.
|a||Specifies a scalar, vector, or matrix of double-precision, floating-point numbers.|
|c||Returns the absolute values of the elements in a. c is a real matrix of the same size as a.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Yes|
A = [1.3+2i, 4.2-3.7i; -2.9-1.6i, -5]
C = abs(A)