Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)
[out, dims] = go2d(in);
[out, dims] = go2d(in); out = 2 dimenisonal matrix, keeping the first dim, and reshaping by the product of the remaining dims. dims = dimensions of matrix 'in'
function [out, dims] = go2d(in); dims = size(in); len = length(dims); out = reshape(in, dims(1), prod(dims(2:len)));