How can I delete rows having zero?

1 visualizzazione (ultimi 30 giorni)
Abubakr Sheikh
Abubakr Sheikh il 3 Nov 2016
Commentato: Abubakr Sheikh il 3 Nov 2016
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Data Import from MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by