lookup

This function will return the indices of a vector that are closest to the numbers in another.
359 Downloads
Aktualisiert 7. Jan 2013

Lizenz anzeigen

Program can use the last, next, or closest value. Assumes that the lookup values are already sorted.

Written in c, so the operation is fast. Type "mex lookup.c" in matlab before use.

You might need a free compiler if it was not installed with your matlab:
http://www.mathworks.com/support/compilers/R2012b/win64.html

Zitieren als

Mattias Karlsson (2024). lookup (https://www.mathworks.com/matlabcentral/fileexchange/39728-lookup), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R14
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

lookup/

Version Veröffentlicht Versionshinweise
1.0.0.0