Look-up table in C code
版本 1.1.0.0 (4.3 KB) 作者:
Marek Michalczuk
The .m script generates a c-code that realizes a 1D look-up table function
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 Center 和 MATLAB Answers 中查找有关 Matrices and Arrays 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!