comparison scripts/geometry/griddatan.m @ 7017:a1dbe9d80eee

[project @ 2007-10-12 21:27:11 by jwe]
author jwe
date Fri, 12 Oct 2007 21:27:37 +0000
parents 93c65f2a5668
children ec0a13863eb7
comparison
equal deleted inserted replaced
7016:93c65f2a5668 7017:a1dbe9d80eee
1 ## Copyright (C) 2007 David Bateman <dbateman@free.fr> 1 ## Copyright (C) 2007 David Bateman
2 ## 2 ##
3 ## This file is part of Octave. 3 ## This file is part of Octave.
4 ## 4 ##
5 ## Octave is free software; you can redistribute it and/or modify it 5 ## Octave is free software; you can redistribute it and/or modify it
6 ## under the terms of the GNU General Public License as published by 6 ## under the terms of the GNU General Public License as published by
25 ## 25 ##
26 ## The interpolation method can be @code{"nearest"} or @code{"linear"}. 26 ## The interpolation method can be @code{"nearest"} or @code{"linear"}.
27 ## If method is omitted it defaults to @code{"linear"}. 27 ## If method is omitted it defaults to @code{"linear"}.
28 ## @seealso{griddata, delaunayn} 28 ## @seealso{griddata, delaunayn}
29 ## @end deftypefn 29 ## @end deftypefn
30
31 ## Author: David Bateman <dbateman@free.fr>
30 32
31 function yi = griddatan (x, y, xi, method, varargin) 33 function yi = griddatan (x, y, xi, method, varargin)
32 34
33 if (nargin == 3) 35 if (nargin == 3)
34 method = "linear"; 36 method = "linear";