How Can I delete specific elements in a matrix(rectangle matrix) and transfer them to other variable?
For example:
A=[1 2 3 4; 1 8 9 10; 11 12 20 6] ;
Suppose I want to delete 10 and 6, with out specifying element wise is there any way that i can delete the elements? Since my matrix is huge(24×15 elements) I can't specify element wise. I can only specify which row and which column.
Is there any technique that works efficiently?
Best Answer