Binary search for closest value in an array

Returns closest value and corresponding index in an increasingly ordered array.

Télécharger
Télécharger

Vous suivez désormais cette soumission

Citation pour cette source

Benjamin Bernard (2026). Binary search for closest value in an array (https://fr.mathworks.com/matlabcentral/fileexchange/37915-binary-search-for-closest-value-in-an-array), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : fast_sorted_mask, fast_search_histogram

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0

Télécharger