Model nonlinearity with lookup tables, approximate mathematical functions by mapping input values to output values

If you are new to modeling nonlinearity, first try using a lookup table block. Lookup table blocks use arrays of data to map input values to output values, approximating mathematical functions. To approximate a function in N variables, use the n-D Lookup Table block:


1-D Lookup Table Approximate one-dimensional function
2-D Lookup Table Approximate two-dimensional function
Direct Lookup Table (n-D) Index into N-dimensional table to retrieve element, column, or 2-D matrix
Interpolation Using Prelookup Use precalculated index and fraction values to accelerate approximation of N-dimensional function
Lookup Table Dynamic Approximate one-dimensional function using dynamic table
n-D Lookup Table Approximate N-dimensional function
Prelookup Compute index and fraction for Interpolation Using Prelookup block
Sine, Cosine Implement fixed-point sine or cosine wave using lookup table approach that exploits quarter wave symmetry
Was this topic helpful?