rshift(>>)
Syntax
X>>a
Arguments
X is an integral scalar/pair/vector/matrix.
a a is the number of bits to shift.
Details
Shift bits to the right.
Examples
$ rshift(2048, 2);
512
$ 1..10 >> 1;
[0,1,1,2,2,3,3,4,4,5]
$ 1:10>>1;
0 : 5
Related function: lshift