image thumbnail

updated 4 months ago

Find values in a vector or function by Adrian Lara-Quintanilla

For a function y=f(x), this script looks for all the "x" values for a desired value of "y" (y0). (mathematics, data exploration, time series)

varargout=findvalues(vector,yvalue)

image thumbnail

updated 4 months ago

distance2curve by John D'Errico

Find the closest point on a (n-dimensional) curve to any given point or set of points (arclength, interpolant, distance)

distance2curve(curvexy,mapxy,interpmethod)

image thumbnail

updated 10 months ago

NEARESTPOINT (sep 2012) by Jos (10584)

NEARESTPOINT - find the nearest value in another vector (statistics, probability, distance)

nearestpoint(x,y,m)

image thumbnail

updated 10 months ago

Binary search for closest value in an array by Benjamin Bernard

Returns closest value and corresponding index in an increasingly ordered array. (binary search, search, closest)

closest_value(arr, val)

image thumbnail

updated 2 years ago

Closest value(s) from a list by Javier Lopez-Calderon

Returns the closest value from a list for each target value (find, min, vector)

closest(data, target)

image thumbnail

updated almost 4 years ago

Search closest value in a vector by Dr. Murtaza Khan

search value in sorted vector and find index and value with respect to vector that is equal or clos (closest, value, search)

searchclosest(x,v)

searchclosestTest.m

image thumbnail

updated almost 6 years ago

nearestneighbour.m by Richard Brown

Computes nearest neighbour(s) by Euclidean distance (closest, nearest, neighbour)

NEARESTNEIGHBOUR Demonstration

nearestneighbour(varargin)

timingtest(P, X, mode)

image thumbnail

updated 9 years ago

k-D tree by Guy Shechter

Perform closest point search or range query using a k-D tree implementation. (kd, tree, range)

kdrange_demo.m

kdrangequery.m

kdtree.m

Contact us