function data = readBinData (path_in, name_in)

    %data - data array, (days number) x 1

    %path_in - .bin file path
    %name_in - 1-channel .bin file name

    fid = fopen (fullfile (path_in, name_in), 'rb');
    dt1 = fread (fid, 1, 'double');
    dt2 = fread (fid, 1, 'double');
    data = fread (fid, inf, 'float32');
    fclose (fid);

end