Random particle as policy
0001 0002 function [soft_ev_elem, oldData] = getRandomPrior(ALL_soft_ev_elem_part, ALL_oldData_part, noOfPart) 0003 %Random particle as policy 0004 idx = round(1 + (noOfPart - 1)*rand); 0005 soft_ev_elem = ALL_soft_ev_elem_part{idx}; 0006 oldData = ALL_oldData_part{idx};