Hello there,
I have an 8x3x5 array, and would like to count its number of zeros and non-zeros across its 3rd dimension. In particular, I would like to get a 1×5 vectors that gives me the number of zero elements, and another 1×5 vectors showing the number of ones. I would appreciate if somebody can help me. Thanks.
Best Answer