Skip to content

bitunpack

general · scripts/general/bitunpack.m

: y = bitunpack (x)

Expand the stored bit pattern of each element of x into logicals. Within each element, bits are least-significant first. A row x yields a row of bits; otherwise the result is a column.