interp1nan, table lookup

Version (1.85 KB) by ashkan
looks up XI in X from the table [X,Y], if found returns Y, nan otherwise.
Updated 14 May 2012

View License

This function is the same operation as "table lookup". Described in "table lookup" terms, the "table" is [X,Y] and INTERP1nan "looks-up" the elements of XI in X, and, based upon their location, returns values YI within the elements of Y, and nan otherwise.

Cite As

ashkan (2024). interp1nan, table lookup (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Inspired: avinterpnan(A,method)

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes