Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 5 months ago

Closest value by HÃ¥vard Falck

Find the closest value to a given number in a vector (closest, value)

closest.m

image thumbnail

updated 9 months 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

image thumbnail

updated 1 year 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 1 year ago

distance2curve by John D'Errico

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

distance2curve(curvexy,mapxy,interpmethod)

image thumbnail

updated almost 2 years 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 almost 2 years 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 3 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 5 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 (search, closest, value)

searchclosest(x,v)

searchclosestTest.m

image thumbnail

updated almost 7 years ago

nearestneighbour.m by Richard Brown

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

NEARESTNEIGHBOUR Demonstration

nearestneighbour(varargin)

timingtest(P, X, mode)

Contact us