1 2 3 4 5 6 7 8
function pred = opt_pred(idx, pred_list) pred = zeros(size(pred_list{1})); for i = 1:size(idx, 2) pred(:,i) = pred_list{idx(i)}(:,i); end end