function columnx = column(x) % FUNCTION: COLUMN Part of DPWT Toolbox % % SYNOPSIS: COLUMNX = COLUMN(x) % % DESCRIPTION: Make X into a column-vector columnx if % it isn't already. This is for those % programming times when you want to force % a vector to be a column vector. If X is a % matrix it is left unchanged % (i.e. COLUMNX = X). % % % SEE ALSO: ISCOLUMN, ROW % % AUTHOR: Neil Getz % DATE: 5-18-92 % % COPYRIGHT 1992, Neil Getz % [m,n] = size(x); if( m == 1), columnx = x'; else columnx = x; end