Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
bsearch(x,var)
Binary search for values specified in vector 'var' within data vector 'x'. The data has to be pre-sorted in ascending or decending order. There is no way to predict how the function will behave if there are multiple numbers with same value. Returns the index values of the searched numbers. If the values in 'var' are outside the range of 'x' then either 1 or length(x) are returned as indices for those values.
Citation pour cette source
Aroh Barjatya (2026). Binary Search (https://fr.mathworks.com/matlabcentral/fileexchange/7552-binary-search), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : Binary Search for numeric vector
Informations générales
- Version 1.0.0.0 (1,55 ko)
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.0 | update for out of bound values |
