bitsrl
Bit shift right logical
Syntax
c = bitsrl(a, k)
Description
c = bitsrl(
returns the result of a logical right shift bya
,k
)k
bits on inputa
为定点操作。bitsrl
shifts zeros into the positions of bits that it shifts right. It does not check overflow or underflow.
bitsrl
ignoresfimath
properties such asRoundingMode
andOverflowAction
.
Whena
is afi
object,a
andc
have the same associatedfimath
andnumerictype
objects.
Examples
Input Arguments
Extended Capabilities
Introduced in R2007b
Was this topic helpful?