Approximate Functions with Lookup Tables

Create and optimize function lookup tables

Using the Lookup Table Optimizer, you can generate memory-efficient lookup tables that approximate functions, subsystems, and blocks. You can also use it to optimize an existing Lookup Table block.

Apps

Lookup Table OptimizerOptimize an existing lookup table or approximate a function with a lookup table

Classes

DataTypeWorkflow.findDecoupledSubsystemsGet a list of subsystems to replace with an approximation
FunctionApproximation.Problem Object defining the function to approximate, or the lookup table to optimize
FunctionApproximation.Options Specify additional options to use with FunctionApproximation.Problem object
FunctionApproximation.LUTSolutionOptimized lookup table data or lookup table data approximating a math function
FunctionApproximation.LUTMemoryUsageCalculatorCalculate total memory used by lookup table blocks in a model

Topics

Optimize Lookup Tables for Memory-Efficiency

Optimize Lookup Tables using the Lookup Table Optimizer.

Optimize Lookup Tables for Memory-Efficiency Programmatically

Optimize an existing lookup table, generate a lookup table from a Math Function block or function handle.

Approximate Functions with a Direct Lookup Table

Generate direct lookup table approximations of functions or blocks.

Featured Examples