Documentation of go2d


Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)


Function Synopsis

[out, dims] = go2d(in);

Help text


  [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'


Listing of function go2d

function [out, dims] = go2d(in);
dims = size(in);
len = length(dims);
out = reshape(in, dims(1), prod(dims(2:len)));