The arg(x) function returns the phase of a complex number in radians or degrees, as selected by set angles.