Mercurial > hg > octave-nkf
comparison scripts/signal/unwrap.m @ 4826:a7b1e6122d0c
[project @ 2004-03-09 19:57:29 by jwe]
author | jwe |
---|---|
date | Tue, 09 Mar 2004 19:57:29 +0000 |
parents | 2ca2d23a49a7 |
children | a0997c4d1d54 |
comparison
equal
deleted
inserted
replaced
4825:54e35aa71afd | 4826:a7b1e6122d0c |
---|---|
49 if (nargin < 2) | 49 if (nargin < 2) |
50 tol = pi; | 50 tol = pi; |
51 endif | 51 endif |
52 | 52 |
53 ## If TOL is not provided but dim is, handle it. | 53 ## If TOL is not provided but dim is, handle it. |
54 if (tol == []) | 54 if (isempty (tol)) |
55 tol = pi; | 55 tol = pi; |
56 endif | 56 endif |
57 | 57 |
58 ## Don't let anyone use a negative value for TOL. | 58 ## Don't let anyone use a negative value for TOL. |
59 tol = abs (tol); | 59 tol = abs (tol); |