Y — Bit representation of input integers column vector | matrix | 3-D array

Bit representation of input integers, returned as a column vector, matrix, or 3-D
array. Y has the same dimensions as X except
that the number of rows in Y is n times the
number of rows in X. The output Y consists of
n least significant bits in the specified orientation. If
n is less than the number of required bits to represent the
values in X, then the output Y consists of
n least significant bits.

The data type of Y depends on the data type of
X.

If X is a floating-point data type, then
Y is a floating-point data type.

If X is a built-in unsigned integer data type, then
Y is of data type uint8.

If X is a built-in signed integer data type, then
Y is of data type int8.

If X is of data type double, then
Y is of data type double with
n no larger than 53.

If X is of data type single, then
Y is of data type single with
n no larger than 24.

Extended Capabilities

C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.