룩업 테이블 최적화
함수의 룩업 테이블 생성, 최적화 및 압축
룩업 테이블은 고정소수점 임베디드 장치에 사용할 계산량이 많은 함수를 작성할 수 있는 효율적인 방법입니다. 예를 들어, 룩업 테이블을 사용하여 로그, 사인 및 제곱근을 효율적으로 구현할 수 있습니다. 룩업 테이블 최적화기 앱을 사용하여, 함수와 서브시스템, 블록을 근사하는 메모리 효율적인 룩업 테이블을 생성할 수 있습니다. 또한 이를 사용하여 기존 룩업 테이블을 최적화하여 메모리 사용을 줄일 수도 있습니다.
앱
| 룩업 테이블 최적화기 | Optimize existing lookup table or approximate function with lookup table |
클래스
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.LUTSolution | Optimized lookup table data or lookup table data approximating a math function |
FunctionApproximation.LUTMemoryUsageCalculator | Calculate memory used by lookup table blocks in a system |
FunctionApproximation.TransformFunction | Object defining transform function to approximate (R2023a 이후) |
객체
LUTCompressionResult | Optimized lookup table data for all Lookup Table blocks in a system |
함수
도움말 항목
룩업 테이블 최적화기 앱 워크플로
- Optimize Lookup Tables for Memory-Efficiency
Optimize Lookup Tables using the Lookup Table Optimizer. - Generate an Optimized Lookup Table as a MATLAB Function
Use the Lookup Table Optimizer to generate a lookup table as a MATLAB® function.
룩업 테이블 최적화기 명령줄 워크플로
- Optimize Lookup Tables for Memory-Efficiency Programmatically
Optimize an existing lookup table, generate a lookup table from a Math Function block or function handle. - Fixed-Point Function Approximation
When a fixed-point library function is not available, fixed-point applications require an approximation of the function. - Approximate Functions with a Direct Lookup Table
Generate direct lookup table approximations of functions or blocks. - Replace Fitted Curve with Optimized Lookup Table
Reduce the size of lookup tables for functions with symmetry. - Generate an Optimized Lookup Table as a MATLAB Function Programmatically
Programmatically generate an optimized lookup table as a MATLAB function. - Optimize Lookup Tables for Periodic Functions
Reduce the size of lookup tables for functions with symmetry.
Simulink에서의 사전 룩업 및 보간
- Fixed-Point Prelookup and Interpolation
This example demonstrates some of the features of Prelookup and Interpolation Using Prelookup blocks. - Sharing Parameters in Prelookup and Interpolation Blocks
This example shows how Prelookup and Interpolation blocks share their parameter data in generated code. - High Precision Calculations in Interpolation Block
This example shows how to perform high precision calculations in the Interpolation Using Prelookup block using internal rules. - Shared Utility Functions for Prelookup Blocks
This example shows how Prelookup blocks share utility functions.
MATLAB에서 룩업 테이블 구현하기
- Normalize Data for Lookup Tables
This example shows how to normalize data for use in lookup tables. - Implement Fixed-Point Log2 Using Lookup Table
This example shows how to implement fixed-point log2 using a lookup table. Lookup tables generate efficient code for embedded devices. - Implement Fixed-Point Square Root Using Lookup Table
This example shows how to implement fixed-point square root using a lookup table.




