Package: FunctionApproximation
Optimized lookup table data or lookup table data approximating a math function
A FunctionApproximation.LUTSolution
object contains optimized
lookup table data or lookup table data approximating a math function. To create a
FunctionApproximation.LUTSolution
object, use the solve
method on a FunctionApproximation.Problem
object. To generate a subsystem containing
the lookup table approximate or the optimized lookup table, use the approximate
method of the
FunctionApproximation.LUTSolution
object.
You can save a FunctionApproximation.LUTSolution
object to a
MAT-file and restore the solution later.
solves the problem defined by the solution
= solve(problem
)FunctionApproximation.Problem
object, problem
, and
returns the approximation or optimization, solution
, as a
FunctionApproximation.LUTSolution
object.
approximate | Generate a Lookup Table block from a
FunctionApproximation.LUTSolution |
compare | Compare numerical results of
FunctionApproximation.LUTSolution to original function or lookup
table |
displayallsolutions | Display all solutions found during function approximation |
displayfeasiblesolutions | Display all feasible solutions found during function approximation |
getErrorValue | Get the total error of the lookup table approximation |
replaceWithApproximate | Replace block with the generated lookup table approximation |
revertToOriginal | Revert the block that was replaced by the approximation back to its original state |
solutionfromID | Access a solution found during the approximation process |
totalmemoryusage | Calculate total memory used by a lookup table approximation |
Handle. To learn how handle classes affect copy operations, see Copying Objects.
FunctionApproximation. Problem
| FunctionApproximation.LUTMemoryUsageCalculator
| FunctionApproximation.Options
approximate
| compare
| solve