Part Number: LAUNCHXL-F28379D
Tool/software: Code Composer Studio
Hello,
I need to create a 2D lookup table where I can determine the value of Y depending on the value of X.
For example, suppose I have a lookup table
X Y
1.5 10
2 12
2.5 13
3 13.5
In Simulink for example, they have a built-in method for 2D lookup and it is very easy to do. For programming in C, is there any built-in library I can use for this? Or would I need to create my own method for handling lookup tables?
Thanks,
Kevin