Implement Lookup Tables in MATLAB
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.
Replace a function with a lookup table approximation in fixed-point code generated with the Fixed-Point Converter app.
Replace a custom function with a lookup table approximation function by using the Fixed-Point Converter app.