I have a matrix like this
1 2 3 41 2 3 41 2 3 41 2 3 45 6 7 85 6 7 85 6 7 85 6 7 89 10 11 129 10 11 129 10 11 129 10 11 12
like that so many rows.I want to extract every 4 row and 4 column continuously for whole row and save it in excel file.For a single row it works b=a(1:1:4),:);but for all row how can it possible.
Best Answer