How can I delete rows having zero?

1 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by