Functions | |
function | makeGrid (var sizes) |
Construct a matrix of size prod(sizes) by length(sizes)'' where the rows represent all gridpoints on a sizes'' sized grid. | |
This file is part of the ooDACE toolbox and you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation. With the additional provision that a commercial license must be purchased if the ooDACE toolbox is used, modified, or extended in a commercial setting. For details see the included LICENSE.txt file. When referring to the ooDACE toolbox please make reference to the corresponding publications:
Contact : ivo.c - ouck uyt@u gent .behttp://sumo.intec.ugent.be/?q=ooDACE Signature g = makeGrid( sizes )
function makeGrid | ( | var | sizes | ) |
Construct a matrix of size prod(sizes) by length(sizes)'' where the rows represent all gridpoints on a
sizes'' sized grid.
Example:
makeGrid( [3 1 2 2] )
ans = 1 1 1 1 1 1 1 2 1 1 2 1 1 1 2 2 2 1 1 1 2 1 1 2 2 1 2 1 2 1 2 2 3 1 1 1 3 1 1 2 3 1 2 1 3 1 2 2