Mercurial > hg > octave-lyh
comparison scripts/signal/unwrap.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | eb63fbe60fab |
children | 35adf2a71f3f |
comparison
equal
deleted
inserted
replaced
10548:479536c5bb10 | 10549:95c3e38098bf |
---|---|
38 nd = ndims (a); | 38 nd = ndims (a); |
39 sz = size (a); | 39 sz = size (a); |
40 | 40 |
41 if (nargin == 3) | 41 if (nargin == 3) |
42 if (! (isscalar (dim) && dim == round (dim)) && dim > 0 && | 42 if (! (isscalar (dim) && dim == round (dim)) && dim > 0 && |
43 dim < (nd + 1)) | 43 dim < (nd + 1)) |
44 error ("unwrap: dim must be an integer and valid dimension"); | 44 error ("unwrap: dim must be an integer and valid dimension"); |
45 endif | 45 endif |
46 else | 46 else |
47 ## Find the first non-singleton dimension | 47 ## Find the first non-singleton dimension |
48 dim = 1; | 48 dim = 1; |