comparison scripts/general/interpn.m @ 7001:8b0cfeb06365

[project @ 2007-10-10 18:02:59 by jwe]
author jwe
date Wed, 10 Oct 2007 18:03:02 +0000
parents ebf96cc00ee9
children 93c65f2a5668
comparison
equal deleted inserted replaced
7000:e87f860624cc 7001:8b0cfeb06365
32 ## @var{n}-dimensional arrays of the same size as the array @var{v} in 32 ## @var{n}-dimensional arrays of the same size as the array @var{v} in
33 ## the 'ndgrid' format or vectors. The parameters @var{y1}, etc respect a 33 ## the 'ndgrid' format or vectors. The parameters @var{y1}, etc respect a
34 ## similar format to @var{x1}, etc, and they represent the points at which 34 ## similar format to @var{x1}, etc, and they represent the points at which
35 ## the array @var{vi} is interpolated. 35 ## the array @var{vi} is interpolated.
36 ## 36 ##
37 ## If @var{x1}, @dots{}, @var{xn} are ommitted, they are assumed to be 37 ## If @var{x1}, @dots{}, @var{xn} are omitted, they are assumed to be
38 ## @code{x1 = 1 : size (@var{v}, 1)}, etc. If @var{m} is specified, then 38 ## @code{x1 = 1 : size (@var{v}, 1)}, etc. If @var{m} is specified, then
39 ## the interpolation adds a point half way between each of the interplation 39 ## the interpolation adds a point half way between each of the interpolation
40 ## points. This process is performed @var{m} times. If only @var{v} is 40 ## points. This process is performed @var{m} times. If only @var{v} is
41 ## specified, then @var{m} is assumed to be @code{1}. 41 ## specified, then @var{m} is assumed to be @code{1}.
42 ## 42 ##
43 ## Method is one of: 43 ## Method is one of:
44 ## 44 ##