comparison pointIndex.m @ 820:501750fbbfdb

Merge with feature/grids
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 07 Sep 2018 14:40:58 +0200
parents bb079b39a7bb
children
comparison
equal deleted inserted replaced
819:fdf0ef9150f4 820:501750fbbfdb
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