OptimalSamplingMultiSubsetsFromDifferentSets ============================================ .. code-block:: none % get K subsets of gradients from corresponding K given gradient sets, such that % gradients in each subset are evenly distributed. % % USAGE: % [gradCell,grb_result,indexMatrix] = OptimalSamplingMultiSubsetsFromDifferentSets(gradAll, param, grbParam) % % INPUT % gradAll : K gradient matrix cell, where each element is a N_kx3 gradient matrix for a single shell. % param.numSamples : Kx1 or 1xK vector which gives number of samples in K subsets % param.w : weight for single shell term. 0 %