Dataset squeeze
Jump to navigation
Jump to search
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.