You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
IND = BSEARCH(VEC, VAL, TOL) returns indexes of VEC elements equal to VAL
VEC must be sorted in ascending order (1, 2, 3, etc)
TOL > 0 means Y = X +/- TOL counts for a match
TOL = 0 means a search for exact matches
TOL = -1 means a search for the single closest element to VAL
Cite As
dmitry.grigoryev@uha.fr (2026). Binary search (https://www.mathworks.com/matlabcentral/fileexchange/30300-binary-search), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.42 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
