summaryrefslogtreecommitdiff
path: root/opt_pred.m
blob: 6204c29277e5cc39e1963dc18a43744511c88809 (plain)
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