mag Function

Returns the magnitude of the argument. This function is identical to the abs () function.

Arguments

Number Type Compulsory Default Description
1 real/complex array Yes vector

Returns

Return type: real array

Magnitude of the input argument