c = bitorreduce(a) performs
a bitwise OR operation on the entire set of bits
in the fixed-point input, a, and returns the result
as an unsigned integer of word length 1.

c = bitorreduce(a, lidx) performs
a bitwise OR operation on a consecutive range of
bits, starting at position lidx and ending at the
LSB (the bit at position 1).

Perform a bitwise OR operation on the
bits of each element of a, starting at position fi(4).

c=bitorreduce(a,fi(4))

c =
1 1 1 1
DataTypeMode: Fixed-point: binary point scaling
Signedness: Unsigned
WordLength: 1
FractionLength: 0

All of the entries of output c have a value
of 1 because all of the entries of a have
at least one bit with a value of 1 between the
positions fi(4) and 1.

There is only one entry in output c that
does not have a value of 1. This condition occurs
because the corresponding entry in a is the only
entry of a that does not have any bits with a value
of 1 between positions 5 and 2.

Input array, specified as a scalar, vector, matrix, or multidimensional
array of fixed-point fi objects.

bitorreduce supports both signed and unsigned
inputs with arbitrary scaling. The sign and scaling properties do
not affect the result type and value. bitorreduce performs
the operation on a two's complement bit representation of the stored
integer.