0
点赞
收藏
分享

微信扫一扫

matlab位运算函数

例子,

1. &按位与运算    bitand

takemsg4 = bitand( msg, 240) ;

2. |按位或运算   bitor

cover1( i, j) = bitor( cover1( i, j) , shiftmsg4( i, j) ) ;

3. 移位     bitshift

shiftmsg4 = bitshift( takemsg4, - 4) ;
 


举报

相关推荐

0 条评论