| 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 | |
pathcafpe = "tp/cafpe/" func(pathcafpe + "makegrid.xpl") xanf = 1 xstep = 0.1 xnum = 5 xgrid = makegrid(xanf,xstep,xnum) "xgrid" xgrid
grid points for example to compute the plot of a two-dimensional (auto)-regression function
| Library: | cafpe |
| See also: | grid |