FunctionApproximation.LUTSolution Class
Namespace: FunctionApproximation
Optimized lookup table data or lookup table data approximating a math function
Description
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, or to generate the lookup
table as a MATLAB® function, 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.
Construction
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.
Input Arguments
Properties
Methods
approximate | Generate a Lookup Table block or lookup table as a MATLAB function 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 |
Copy Semantics
Handle. To learn how handle classes affect copy operations, see Copying Objects.
Version History
Introduced in R2018a
See Also
Apps
Classes
FunctionApproximation.Problem
|FunctionApproximation.Options
|FunctionApproximation.LUTMemoryUsageCalculator
Functions
solve
|approximate
|compare