I have a 48x88 matrix and I need to sum the 1st element to the 23rd, the 2nd element to the 24th, etc until the 66th to the 88th (always using a 22 interval).
Then I have to divide 100 by the sum of each column. The result will be multiplied by each element of that same column.
What is the most effective way to do this? Nested for functions?
This is not an undergraduate college question.
Thank you for your replies. I appreciate them.