COLSUMS

COLSUMS(x) sum of the non-missing elements of each column of matrix x.