view pointIndex.m @ 1255:5e2a61340d4e feature/FMMlabb

Fix boundary groups
author Ylva Rydin <ylva.rydin@telia.com>
date Wed, 22 Jan 2020 16:10:46 +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