%-----------

function c = cols( w) % save as cols.m
%       Returns the number of columns of matrix w.

[r, c] = size( w);

