abs
Absolute value and complex magnitude
Syntax
Description
Y = abs(
returns the absolute value of each element in input X
)X
.
If X
is complex, abs(X)
returns the complex magnitude.
Absolute value and complex magnitude
Y = abs(
returns the absolute value of each element in input X
)X
.
If X
is complex, abs(X)
returns the complex magnitude.