Octave: summarize all elements except the first column?

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?

+6
source share
1 answer

Try the following:

 sum(a(1:end, 2:end)(:)) 
+10
source

All Articles