Clear Filters
Clear Filters

removing zeros from column

3 views (last 30 days)
sermet on 4 Aug 2015
Answered: Al Dente on 4 Aug 2015
%I need to remove all "0" in A matrix then I need to create a matrix without "0" like; [1;2;2;3]

Accepted Answer

Al Dente
Al Dente on 4 Aug 2015
A(A==0) = []

More Answers (0)


Find more on Multidimensional Arrays 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!