Look-up table in C code

버전 (4.28 KB) 작성자: Marek Michalczuk
The .m script generates a c-code that realizes a 1D look-up table function
다운로드 수: 407
업데이트 날짜: 2014/10/23

라이선스 보기

C code generator for Look-up table
ver 1.0/16.12.2013
created by Marek Michalczuk
User defines the mapping function by specifying vectors of input and output values. If the input signal lies within the range of the input vector, the output value is calculated by linear interpolation between the appropriate two points. If the input signal is out of bounds, the block extrapolates using the first or last two points.

인용 양식

Marek Michalczuk (2024). Look-up table in C code (https://www.mathworks.com/matlabcentral/fileexchange/48225-look-up-table-in-c-code), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2014a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
Help CenterMATLAB Answers에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보

extended description