2015-02-01 00:54:16 +03:00

7 lines
112 B
Matlab

function u = Ux(ADU, K)
adu = uint32(ADU);
adu *= K;
adu = bitshift(adu, -17);
u = uint32(adu);
endfunction