18 quantiles = [0 0.5 0.90 0.99];
20 mat = zeros(0, length(quantiles) + 2);
24 [d, n, e, v] = fileparts(datafiles{i});
25 x = load(datafiles{i})*1e6;
26 stat = csv2cell([n, "-stat.txt"], '=');
28 q = quantile (x, quantiles);
31 mat = [ mat; q lost avg ];
36 [mat, ind] = sortrows(mat, 2);
39 result = [names', num2cell(mat)];
40 cell2csv("result", result, ' ', '"');