remove the empty zero value layers in multidimensional matrix
Ältere Kommentare anzeigen
Let's say. I have nD array of any size and dimensions.
How can I get delete zeros layers?
Thanks
3 Kommentare
James Tursa
am 13 Feb. 2019
Please provide a short example of input and desired output. Are you trying to delete 2D pages that consist of entirely 0's, or what? The example will clarify.
sveta sveta
am 13 Feb. 2019
James Tursa
am 14 Feb. 2019
Bearbeitet: James Tursa
am 14 Feb. 2019
You didn't provide an example. From your description, the 2D layer could be along any dimension?
Antworten (0)
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!