이 페이지의 내용은 이전 릴리스에 관한 것입니다. 해당 영문 페이지는 최신 릴리스에서 제거되었습니다.
MATLAB에서 룩업 테이블 구현하기
계산량이 많은 함수를 룩업 테이블로 대체
룩업 테이블은 고정소수점 임베디드 장치에 사용할 계산량이 많은 함수를 작성할 수 있는 효율적인 방법입니다. 예를 들어, 룩업 테이블을 사용하여 로그, 사인, 코사인, 탄젠트 및 제곱근을 효율적으로 구현할 수 있습니다.
함수
fixed.interp1 | 1-D data interpolation (table lookup) (R2024a 이후) |
fixed.interp2 | Interpolation for 2-D gridded data in meshgrid
format (R2024a 이후) |
fixed.interp3 | Interpolation for 3-D gridded data in meshgrid
format (R2024a 이후) |
fixed.interpn | Interpolation for 1-D, 2-D, 3-D, and N-D gridded data in
ndgrid format (R2024a 이후) |
도움말 항목
- Replace the exp Function with a Lookup Table
Replace a function with a lookup table approximation in fixed-point code generated with the
fiaccelfunction. - Replace a Custom Function with a Lookup Table
Replace a custom function with a lookup table approximation function by using the
fiaccelfunction.


