Hi.

Is it possible to prepare a set of commands, which lists elements of any size matrix in such sequence like this:

for 3x3 matrix:

the sequence is: ;

for matrix 4x4:

the sequence is: ,

etc.

So, the operator which forms the sequence, moves on matrix like a point drawing a spiral, independently of matrix’s size.

Thanks for all your help.