columns in a factor matrix by its
% vector 2-norm. The 2-norm weight is then absorbed into the weight vector of
% that column. 
normalize(S)

%% 
% By passing an additional $0$ argument to the normalize function, the
% weight vector is set to $\pm 1$ and the weights are absorbed into the
% factor matrix.
normalize(S,0)
%% Use arrange to normalize and sort a symktensor
% The function |arrange| normalizes the components of symktensor and sorts them
% according to the weight vector, in descending order.
arrang