Path: Math/Trigonometry
% Wrap a phase angle (or vector of angles) to keep it between -pi and +pi -------------------------------------------------------------------------- Form: angle = WrapPhase( angle ) -------------------------------------------------------------------------- ------ Inputs ------ angle (1,:) Phase angle [rad] ------- Outputs ------- angle (1,:) Wrapped phase angle between -pi and +pi [rad] --------------------------------------------------------------------------
Back to the Math Module page