Main Content
bitsrl
Bit shift right logical
Syntax
Description
c = bitsrl(
returns the result of a logical right shift by a
, k
)k
bits
on input a
for fixed-point operations. bitsrl
shifts
zeros into the positions of bits that it shifts right. It does not
check overflow or underflow.
bitsrl
ignores fimath
properties
such as RoundingMode
and OverflowAction
.
When a
is a fi
object, a
and c
have
the same associated fimath
and numerictype
objects.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2007b