Corrects abrupt jump in phase angles in radian
q = unwrap(p)
q = unwrap(p,tol)
q = unwrap(p,[],dim)
q = unwrap(p,tol,dim)
Phase angles in radian
Acceptable jump tolerance between two consecutive phase angles
dimension along which the unwrapping is to be performed.
unwrapped phase angles in radians
It corrects the abrupt jump between consecutive phase angles specified in tolerence tol. If the tolerence is not specified, it is assumed as pi. The dim parameter specifies the dimension along which the unwraaping is to be performed. If the phase angles are in a munti-dimensional array, and the dimesion dim is not specified, unwrapping is done along the first dimensions, i.e., columnwise.