Mercurial > repos > public > sbplib
view pointIndex.m @ 901:6cc9f8a866f2 bcSetupExperiment
Close branch bcSetupExperiment
author | Jonatan Werpers <jonatan.werpers@it.uu.se> |
---|---|
date | Sat, 24 Nov 2018 14:55:48 +0000 |
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