Navigation

Operators and Keywords

Function List:

C++ API

unwrap.m File Reference


Functions

 if (nargin==3) if(!(isscalar(dim)&&dim
 while (dim< nd+1 &&sz(dim)==1) dim
endwhile if (dim > nd) dim
endif endif if (nargin< 2||isempty(tol)) tol
 if (m==1) retval
!else !if (nargin==2)%!tol=0
!endif !if (any(size(a)!=size(b)))%!t=0
 !elseif (any(abs(a(:)-b(:)) > tol))%!t=0
 !t (++i)
 !assert (all(t))

Variables

function retval
endif nd = ndims (a)
 sz = size (a)
endif else dim = 1
endif tol = abs (tol)
 rng = 2*pi
 m = sz(dim)
 return
endif idx = cell ()
for i
 __pad13__
 d = a(idx{:}) - a
 p = rng * (((d > tol) > 0) - ((d < -tol) > 0))
 r = cumsum (p, dim)
endfunction!function t
!else !t = 1
!endif!endif!test !i = 0
 !r = [0:100]
 !w = r - 2*pi*floor((r+pi)/(2*pi))
 !tol = 1e3*eps

Function Documentation

!assert ( all(t)   ) 

!elseif ( any(abs(a(:)-b(:)) > tol  )  [pure virtual]

! endif !if ( any(size(a)!=size(b))   )  [pure virtual]

! else !if ( nargin  = =2  )  [pure virtual]

!t ( ++  i  ) 

if ( = =1  ) 

endif endif if (  ) 

endwhile if ( dim  ,
nd   
)

if ( nargin  = =3  ) 

while (  )  [new]


Variable Documentation

! endif ! endif !test !i = 0

!r = [0:100]

!t = 1

!tol = 1e3*eps

!w = r - 2*pi*floor((r+pi)/(2*pi))

d = a(idx{:}) - a

endif else dim = 1

for i

Initial value:

 1:nd
    idx{i} = 1:sz(i)

endif idx = cell ()

m = sz(dim)

endif nd = ndims (a)

p = rng * (((d > tol) > 0) - ((d < -tol) > 0))

r = cumsum (p, dim)

return

retval

Initial value:

 unwrap (a, tol, dim)
        
  if (nargin < 1 || nargin > 3)
    print_usage ()

rng = 2*pi

sz = size (a)

Initial value:

 xassert(a,b,tol)
%!  if (nargin == 1)
%!    t = all(a(:))

endif tol = abs (tol)