MATLAB: How can i find rows or coulmns which contain maximum zeroes
MATLABmatrix manipulation
Hi, I want to select rows or coulmns which contain maximum zeros? can anyone please help me how to write a script file for this.. I want to develop a simple program for Assignment method..
Reagards,
Ateeq
Best Answer
This will give you the number of zeros in particular rows and columns:
I’m not certain what you mean by ‘minimum nonzeros elements’. This takes the row sum of the rows with nonzero elements and finds the row with the smallest row sum:
Best Answer