view pointIndex.m @ 1254:204b47c51bf8 feature/FMMlabb

Add annulus
author Ylva Rydin <ylva.rydin@telia.com>
date Wed, 22 Jan 2020 15:18:11 +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