view pointIndex.m @ 989:e41c93d7ab08 feature/timesteppers

Merge with default
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 09 Jan 2019 08:56:42 +0100
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