이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
Lookup Tables
Lookup Tables 라이브러리의 블록을 사용하여 비선형성을 모델링합니다. Lookup Table 블록은 데이터 배열을 사용해 입력값을 출력값에 매핑하여 수학 함수를 근사합니다. N개 변수에서 함수를 근사하려면 n-D Lookup Table 블록을 사용하십시오.
블록
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, vector, or 2-D matrix |
Interpolation Using Prelookup | Use precalculated index and fraction values to accelerate approximation of N-dimensional function |
Lookup Table Dynamic | Approximate a one-dimensional function using dynamic table |
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 |
n-D Lookup Table | Approximate n-dimensional function |
예제 및 방법
- Enter Breakpoints and Table Data
Specify breakpoint data sets and table data for lookup table blocks.
- Edit Lookup Tables
Change the elements of lookup tables.
- Import Lookup Table Data from MATLAB
You can import table and breakpoint data from variables in the MATLAB workspace by referencing them in the Table and Breakpoints tab of the dialog box.
- Excel에서 룩업 테이블 데이터 가져오기
xlsread
함수를 사용하여 룩업 테이블에 데이터 가져오기. - Create a Logarithm Lookup Table
Work with lookup table blocks.
- Prelookup and Interpolation Blocks
Use Prelookup and Interpolation Using Prelookup blocks together.
- Row-Major Algorithm in Existing Models Containing Lookup Table Blocks
Update existing models to use row-major layout.
- Update Lookup Table Blocks to New Versions
Update existing models to use current versions of lookup table blocks.
개념
- Lookup Table 블록 소개
Lookup Table 블록은 데이터 배열을 사용해 입력값을 출력값에 매핑하여 수학 함수를 근사합니다.
- 룩업 테이블의 구조
절점 데이터 세트와 테이블 데이터가 룩업 테이블의 구성요소입니다.
- Lookup Tables 블록 라이브러리
Lookup Tables 라이브러리의 다양한 블록 중 선택.
- Guidelines for Choosing a Lookup Table
Select the best lookup table for your application.
- Characteristics of Lookup Table Data
Comply with lookup table data requirements and represent discontinuous data.
- Methods for Approximating Function Values
Set the method by which lookup table blocks approximate function values.
- Optimize Generated Code for Lookup Table Blocks
Optimize generated code for lookup table blocks.