MATLAB: Sum specific range of column or row

matrix summing

Hi I have a 150 *273 matrix;
How can I sum up from 2nd column to upto last column.
Thanks.

Best Answer

sum(yourMatrix,2)-yourMatrix(:,1);