view pointIndex.m @ 1123:ff39d6692489 feature/poroelastic

Merge heads
author Martin Almquist <malmquist@stanford.edu>
date Sat, 11 May 2019 16:36:33 -0700
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