phase Function

Returns the phase of the argument in degrees. Identical to ph .

Each of the functions ph , phase and phase_rad produce a continuous output i.e. it does not wrap from 180 degrees to -180 degrees.

This function always returns a result in degrees. This has changed from versions 3.1 and earlier which returned in degrees or radians depending on the setting of the 'Degrees' option. For phase in radians, use phase_rad .

Arguments

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

Returns