Converts subs/vals image representation to array representation. Constructs array from subs/vals representation. Similar to Matlab's sparse command, except doesn't actually produce a sparse matrix. Uses different conventions as well. USAGE I = subsToArray( subs, vals, siz, [fillVal] ) INPUTS subs - subscripts of point locations (n x d) vals - values at point locations (n x 1) siz - image size vector (1xd) - must fully contain subs fillVal - [0] value to fill array with at nonspecified locs OUTPUTS I - array of size siz EXAMPLE See also SUB2IND2, SPARSE