How to eliminate zeros from array
1 view (last 30 days)
Show older comments
e.g I want to make this:
1,1,1,1,0,0 1,1,0,0,0,0 1,0,0,0,0,0 1,1,1,1,1,0 into this:
1,1,1,1 1,1 1 1,1,1,1,1
1 Comment
Jos (10584)
on 14 Mar 2018
Can you give a an example of these two arrays in working matlab code?
Array1 = ...
Array2 = ...
Answers (1)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!