LTPDA_UNWRAPDEG Unwrap a phase vector given in degrees. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: LTPDA_UNWRAPDEG Unwrap a phase vector given in degrees. CALL: deg = ltpda_unwrapdeg(phase) INPUTS: phase - phase vector OUTPUTS: deg - degrees vector VERSION: $Id: ltpda_unwrapdeg.m,v 1.5 2007/07/13 12:17:39 ingo Exp $ HISTORY: 26-01-2007 M Hewitson Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function deg = ltpda_unwrapdeg(phase) 0002 % LTPDA_UNWRAPDEG Unwrap a phase vector given in degrees. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: LTPDA_UNWRAPDEG Unwrap a phase vector given in degrees. 0007 % 0008 % CALL: deg = ltpda_unwrapdeg(phase) 0009 % 0010 % INPUTS: phase - phase vector 0011 % 0012 % OUTPUTS: deg - degrees vector 0013 % 0014 % VERSION: $Id: ltpda_unwrapdeg.m,v 1.5 2007/07/13 12:17:39 ingo Exp $ 0015 % 0016 % HISTORY: 26-01-2007 M Hewitson 0017 % Creation 0018 % 0019 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0020 0021 deg = unwrap(phase*pi/180)*180/pi; 0022 0023 % END