2D Lookup Table: How to do it??
Hello, I'm new to to Scilab community and I'm trying to create a model of a car following a specific driving path.
For that I need an 2D lookup table so that with the throttle and engine speed I can find the Engine torque, but I saw that the "Lookup2D" pallete from Xcos was removed!!
Any idea how I can add it back or of a substitute function?
Thanks for the help
The block "Lookup2D" has indeed been removed. There are no available substitute functions currently. However, there exists a user-written function with similar functionality.
Tinker with it a bit to adjust it to your requirements.
I solved the problem by using the Interp 2 block.
By transforming the data into a Matrix and writing in the block I was able to have a 2d lookup table. It is not as easy as simply selecting a table file but it worked.