view pointIndex.m @ 873:dee5b5a57be6 bcSetupExperiment

Clean up closureSetup
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 01 Nov 2018 12:05:53 +0100
parents bb079b39a7bb
children
line wrap: on
line source

% Get the index of the points p within the tall array of points ps
function [I, ok] = pointIndex(p, ps)
    [ok, I] = ismember(p,  ps, 'rows');
end