getmsb - Most significant bit

Syntax

c = getmsb(a)

Description

c = getmsb(a) returns the value of the most significant bit in a as a u1,0.

a can be a scalar fi object or a vector fi object.

getmsb only supports fi objects with fixed-point data types.

See Also

bitand, bitandreduce, bitconcat, bitget, bitor, bitorreduce, bitset, bitxor, bitxorreduce, getlsb

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS