How can I delete rows having zero?

I have a matrix of order (1x8763) in excel sheet format and I want to delete the rows containing zero using MATLAB. What should I do. Kindly help me.

 Accepted Answer

Let x be your data of 1X8763.
use
x(x==0) = [] ;

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!