View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 3.08 KB File ID: #39728 Version: 1.0




This function will return the indices of a vector that are closest to the numbers in another.

| Watch this File

File Information

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:

MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us