Mercurial > hg > octave-nkf
diff scripts/plot/ndgrid.m @ 6547:4fb053f24fd6
[project @ 2007-04-19 21:47:40 by jwe]
author | jwe |
---|---|
date | Thu, 19 Apr 2007 21:47:41 +0000 |
parents | 376e02b2ce70 |
children | 76e3d985ae56 |
line wrap: on
line diff
--- a/scripts/plot/ndgrid.m +++ b/scripts/plot/ndgrid.m @@ -18,15 +18,15 @@ ## 02110-1301, USA. ## -*- texinfo -*- -## @deftypefn {Function File} {[@var{y1}, @var{y2}, ..., @var{y}n]} = ndgrid (@var{x1}, @var{x2}, ..., @var{x}n) -## @deftypefnx {Function File} {[@var{y1}, @var{y2}, ..., @var{y}n]} = ndgrid (@var{x}) -## Given n vectors @var{x1}, ... @var{x}n, ndgrid returns n arrays of dimension n. +## @deftypefn {Function File} {[@var{y1}, @var{y2}, @dots{}, @var{y}n] =} ndgrid (@var{x1}, @var{x2}, @dots{}, @var{x}n) +## @deftypefnx {Function File} {[@var{y1}, @var{y2}, @dots{}, @var{y}n] =} ndgrid (@var{x}) +## Given n vectors @var{x1}, @dots{} @var{x}n, ndgrid returns n arrays of dimension n. ## The elements of the ith output argument contains the elements of the vector ## @var{x}i repeated over all dimensions different from the ith dimension. ## Calling ndgrid with only one input argument @var{x} is equivalent of calling ndgrid with ## all n input arguments equal to @var{x}: ## -## [@var{y1}, @var{y2}, ..., @var{y}n] = ndgrid (@var{x}, ..., @var{x}) +## [@var{y1}, @var{y2}, @dots{}, @var{y}n] = ndgrid (@var{x}, @dots{}, @var{x}) ## @seealso{meshgrid} ## @end deftypefn