How can I delete rows having zero?

1 view (last 30 days)
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

KSSV
KSSV on 3 Nov 2016
Let x be your data of 1X8763.
use
x(x==0) = [] ;

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!