Hello, I am very new to Matlab, so my question could be too elementary… I have a huge matrix made of 7 rows. In the last row, there are only 1 or 0. I need to create a new matrix from the original one, taking only the columns which last row value is 1. Or, in other terms, I want to discard all those columns whose last value is 0. Is there a simple way to do it?
Thank you
Best Answer