Labrador/Old Matlab Interface/hexoffset.m

3 lines
97 B
Mathematica

function [offset] = hexoffset(hexin)
decin = hex2dec(hexin);
offset = dec2hex(decin+750);