Main Content

Implement Lookup Tables in MATLAB

Replace computationally-intense functions with lookup tables

Lookup tables are an efficient way to write computationally-intense functions for fixed-point embedded devices. For example, you can efficiently implement logarithm, sine, cosine, tangent, and square-root using lookup tables.


fixed.interp11-D data interpolation (table lookup) (Since R2024a)
fixed.interp2Interpolation for 2-D gridded data in meshgrid format (Since R2024a)
fixed.interp3Interpolation for 3-D gridded data in meshgrid format (Since R2024a)
fixed.interpnInterpolation for 1-D, 2-D, 3-D, and N-D gridded data in ndgrid format (Since R2024a)