Mercurial > repos > public > sbplib
view pointIndex.m @ 1293:3e2c1df740df feature/poroelastic
Merge heads.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 29 Jun 2020 15:26:36 -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