function [result, combinations] = calib_main_summary(cal) %combinations = {7,8,12,13,14,15,[6,7,8,12],[13,14,15],[6,7,8,12,13,14,15],[7,8,12,13,14,15]}; %combinations = {22, 23, 27, 28, 29, [22, 23, 27, 28, 29], 31, 32, 33, 34, 35, [31,32,33,34,35] }; %combinations = {22, 23, 27, 28, 29, [22, 23, 27, 28, 29], 31, 32, 33, 34, [31,32,33,34] }; combinations = {7,8,12,13,14,15, [6,7,8,12,13,14,15], 22, 23, 27, 28, 29, [22, 23, 27, 28, 29], 40, 42, 43, 44, 45, [40, 41, 42, 43, 44, 45] }; for i=1:size(combinations,2) which = combinations{i}; result{i} = calib_main_glob(cal, which); result{i}.combination = which; result{i}.est_params' end %est_params = join(collect(result, 'est_params')); calib_main_summary_write(result, combinations);