Suppose, I have a 10x10 Martix A= magic(10).
Then I delete some rows from it as A([3 5 6],:)=. and some columns as A(:,[3 5 6])=
Now it's a 7x7 matrix.
I want to keep track of the indices to know which row in the orginal matrix becomes which row in the transformed matrix.
A([3 5 6],:)=;
A(:,[3 5 6])=;
I want to keep track that previous 4th row is now the 3rd row...previous 7th row is now the 4th row...etc. Any solid way to do that? Please help. Thanks.