FUNCTION REFERENCE

tsearchn

Enclosing simplex of each query point.

Enclosing simplex of each query point.

Syntax

[t, p] = tsearchn(X, T, XI)

t holds the first row of T whose simplex contains each row of XI (NaN outside) and p its barycentric coordinates.

Example

tsearchn([0 0; 1 0; 0 1], [1 2 3], [0.25 0.25])   % 1

Differences from MATLAB: none known for these forms.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.