[~, candidates_idx] = sort(candidates);idx_median = candidates_idx(round(numel(candidates)/2))
MATLAB: Plz help me to understand those cod of lines
digital image processing
digital image processing
[~, candidates_idx] = sort(candidates);idx_median = candidates_idx(round(numel(candidates)/2))
Best Answer