Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Reduce consecutive slice of bits to one bit by performing
bitwise `AND`

operation

`c = bitandreduce(a)`

`c = bitandreduce(a, lidx)`

`c = bitandreduce(a, lidx, ridx)`

Was this topic helpful?