17 quantiles = [0 0.5 0.90 0.99];
19 mat = zeros(0, length(quantiles) + 2);
23 [d, n, e, v] = fileparts(datafiles{i});
24 x = load(datafiles{i})*1e6;
25 stat = csv2cell([n, "-stat.txt"], '=');
27 q = quantile (x, quantiles);
30 mat = [ mat; q lost avg ];
35 [mat, ind] = sortrows(mat, 2);
38 result = [names', num2cell(mat)];
39 cell2csv("result", result, ' ', '"');