Nearest value from an array.
Ältere Kommentare anzeigen
I have a set of numbers 'N'.I need to find each optimal nearest value of each N , from a series.
If M=[1,2,3,4,5,6,7,8,910] a series.
N=[0.5,1.3,2.4] .I need find the optimal nearest point of each N from M.
2 Kommentare
Silpa K
am 20 Sep. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Nearest Neighbors finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!