lets say i have a matrix as below:
1 1 1 1 1
2 2 2 2 2
3 3 3 9 3
i wan to delete the entire column if there is element with the value of 9 in it and get the matrix B as below:
i should mention that in reality may matrix size is much greater than this with the size of A(150,32024), so i need to do it in a for loop, or if anyone has any other idea, i really appreciate it.