In Octave, how do I get the sum of all elements of the matrix a , except for those that are listed in the first column?
a
Try the following:
sum(a(1:end, 2:end)(:))