I have an array of the form:
TTX = 20 9 2 7 40 10 10 1 60 2 10 9 0 10 5 10 40 7 9 7 40 1 2 8 0 3 5 8 60 6 10 4 20 10 8 7 0 10 10 2
I want to add the elements of rows 1:3, then add the elements of the rows 4:5, then 6:end.
How can I do that?
Best Answer