%fileName = input('File to convert: ','s')
fid = fopen(fileName);
rawData = fread(fid, 'uint32');
ind = find(rawData > hex2dec('7FFFFF'));
data(ind) = rawData(ind) - hex2dec('1000000');
lsb = 2^23 - 1;
data = 2.5 * data / lsb;

