Given a vector, how to pair them by nearest?
Mostra commenti meno recenti
Hi,
I have a vector with values. I have to pair them by nearest.
Is there any magic command to do it?
Thanks!
Risposta accettata
Più risposte (1)
Jos (10584)
il 25 Feb 2013
0 voti
What do you mean by ' pair them by nearest '? Do you want to SORT the values?
Otherwise, can you give a small example of your vector and the required result of such a magic function?
1 Commento
Dani Tormo
il 25 Feb 2013
Modificato: Dani Tormo
il 25 Feb 2013
Categorie
Scopri di più su Characters and Strings in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!