annotate general/arrutils/flatten.m @ 54:9bcf5e133bf0

Added from old stats library.
author samer
date Mon, 23 Feb 2015 16:08:09 +0000
parents 03694e5c8365
children
rev   line source
samer@4 1 % flatten - convert array into column vector
samer@4 2 %
samer@4 3 % flatten :: [[size]]->[[prod(size)]]
samer@13 4 function X=flatten(X), X=X(:); end