How can I delete rows having zero?

1 vue (au cours des 30 derniers jours)
Abubakr Sheikh
Abubakr Sheikh le 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.

Réponse acceptée

KSSV
KSSV le 3 Nov 2016
Let x be your data of 1X8763.
use
x(x==0) = [] ;
  1 commentaire
Abubakr Sheikh
Abubakr Sheikh le 3 Nov 2016
Thank you, Its working

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by