remove the empty zero value layers in multidimensional matrix
12 views (last 30 days)
Show older comments
Let's say. I have nD array of any size and dimensions.
How can I get delete zeros layers?
Thanks
3 Comments
James Tursa
on 14 Feb 2019
Edited: James Tursa
on 14 Feb 2019
You didn't provide an example. From your description, the 2D layer could be along any dimension?
Answers (0)
See Also
Categories
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!