i have a n*n matrix. i want to obtain (row number-column number) matrix.for a 4*4 matrix result should be
[0 -1 -2 -3; 1 0 -1 -2; 2 1 0 -1; 3 2 1 0];i want to do this for any (n*n) matrix.is there any method to do this.
matrix manipulation
[0 -1 -2 -3; 1 0 -1 -2; 2 1 0 -1; 3 2 1 0];i want to do this for any (n*n) matrix.is there any method to do this.
Best Answer