20 quantiles = [0 0.5 0.90 0.99];
22 mat = zeros(0, length(quantiles) + 2);
26 [d, n, e, v] = fileparts(datafiles{i});
27 x = load(datafiles{i})*1e6;
28 stat = csv2cell([n, "-stat.txt"], '=');
30 q = quantile (x, quantiles);
33 mat = [ mat; q lost avg ];
38 [mat, ind] = sortrows(mat, 2);
41 result = [names', num2cell(mat)];
42 cell2csv("result", result, ' ', '"');