comparison pointIndex.m @ 943:21394c78c72e feature/utux2D

Merge with default
author Martin Almquist <malmquist@stanford.edu>
date Tue, 04 Dec 2018 15:24:36 -0800
parents bb079b39a7bb
children
comparison
equal deleted inserted replaced
942:35701c85e356 943:21394c78c72e
1 % Get the index of the points p within the tall array of points ps
2 function [I, ok] = pointIndex(p, ps)
3 [ok, I] = ismember(p, ps, 'rows');
4 end