I matlab I have a matrix of 4 columns. I want to delete an entire row if the elements in columns two, three and four all equal zero.
So, I think I need to do something l
You can do it like that:
a(sum((a(:,2:4)==0)')==3,:)=[]