view pointIndex.m @ 1093:fdff002ebb32 feature/dataspline

Remove some comments in dataSpline()
author Martin Almquist <malmquist@stanford.edu>
date Fri, 05 Apr 2019 13:15:45 -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