Mercurial > hg > octave-lyh
comparison scripts/geometry/griddata.m @ 9501:3c40d81c197f
ChangeLog and style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 06 Aug 2009 14:41:24 -0400 |
parents | 079c06f37f17 |
children | 8cf522ce9c4d |
comparison
equal
deleted
inserted
replaced
9500:bb37822e9b82 | 9501:3c40d81c197f |
---|---|
61 error ("griddata: xi and yi must be vectors or matrices of same size"); | 61 error ("griddata: xi and yi must be vectors or matrices of same size"); |
62 endif | 62 endif |
63 | 63 |
64 [nr, nc] = size (xi); | 64 [nr, nc] = size (xi); |
65 | 65 |
66 x = x(:); y = y(:); z = z(:); | 66 x = x(:); |
67 y = y(:); | |
68 z = z(:); | |
67 | 69 |
68 ## Triangulate data. | 70 ## Triangulate data. |
69 tri = delaunay (x, y); | 71 tri = delaunay (x, y); |
70 zi = nan (size (xi)); | 72 zi = nan (size (xi)); |
71 | 73 |