Daniel@0: function c = cols(x) Daniel@0: % COLS The number of columns. Daniel@0: % COLS is a more readable alternative to size(x,2). Daniel@0: c = size(x,2);