Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: cafpe
See also: grid

Quantlet: makegrid
Description: Quantlet for generating a two-dimensional grid

Usage: xgrid = makegrid(xanf,xstep,xnum)
Input:
xanf scalar, beginning of grid
xstep scalar, step size
xnum scalar, number of grid points
Output:
xgrid (xnum^2 x 2) matrix of grid points

Example:
pathcafpe = "tp/cafpe/"
func(pathcafpe + "makegrid.xpl")
xanf    = 1
xstep   = 0.1
xnum    = 5
xgrid   = makegrid(xanf,xstep,xnum)
"xgrid" xgrid
Result:
grid points for example to compute the
plot of a two-dimensional (auto)-regression function

Library: cafpe
See also: grid

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Tschernig 000420
(C) MD*TECH Method and Data Technologies, 27.4.2000