From: Bruno Luong on
There is a tool on FEX allows to do operation on uint64/int64
http://www.mathworks.com/matlabcentral/fileexchange/24725-int64-arithmetic-in-matlab

>> B = '2A66311C';
>> Bc = uint64(hex2dec(B));
>> dec2hex(mod(Bc*(2*Bc + 1),2^32))

ans =

E1DDA73C

% Bruno