This commit is contained in:
Eddy
2015-02-01 10:40:46 +03:00
parent 18dbf01b15
commit 9242516cb9
5 changed files with 648 additions and 114 deletions

View File

@@ -1,6 +1,6 @@
function u = U(ADU)
adu = uint32(ADU)
adu *= 3584
adu *= 35840;
adu = bitshift(adu, -17);
u = uint32(10*adu);
u = uint32(adu);
endfunction