Hi, If I want to divide the column of a matrix by the sum of the column, should I loop over the columns or can I use apply family? Regards, Carol [[alternative HTML version deleted]]