Finding closest point to a NaN value
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi!
I'm having a matix whith numbers and NaN values. I'm having some problems finding the closes number to a NaN value, i Have used knnsearch and dsearchn, they both works good if it finding closest number to number but from NaN-point to number, the result is just NaN. Is there anyone who can help me? BR Johan
1 Commento
the cyclist
il 12 Lug 2012
Is 14 closer to NaN, or is 37 closer? What about -14? Or infinity?
(In other words, what do you mean by "close" to something that, by construction, is Not-A-Number?)
Risposte (0)
Vedere anche
Categorie
Scopri di più su NaNs in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!