Dataset squeeze: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
(No difference)
|
Revision as of 14:49, 8 October 2008
Purpose
Removes singleton dimensions of a DataSet object.
Synopsis
B = squeeze(A);
Description
Overload of the standard Matlab command SQUEEZE for DataSet objects Returns a DataSet object, B, with the same elements as DataSet object A, but with all the singleton dimensions removed. A singleton is a dimension such that size(A,dim)==1. 2-D arrays are unaffected by squeeze so that row vectors remain rows.