arg_rad Function

Returns the phase of the argument in radians. Unlike the functions phase and phase_rad , this function wraps from π to π radians. See arg function above for a version that returns phase in degrees.

Arguments

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

Returns

Return type: real/complex array

Returns the arc tangent of the argument. Result is in radians.