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

data = 2.5 * data / lsb;

