look up tables are very useful and a few predefined functions could be very useful. (speeding up program development)
1)
Interpolation: If an input value lies between two points in the table, interpolate for the nearest integer value.
Nearest:If an input value lies between two table values, use the nearest table value.
Round up/round down: If the input value lies between two points, always round up or round down to nearest table value.
2)
However the main point of this request is a more graphical interface to table creation.
In other applications I have been able view a graph of the table values, with the data list to one side so when developing an approximated curve in my table values its easy to see.
for example this is the data for an approximated sine wave...
127,159,190,216,236,249,254,249,236,216,190,159,127,94,63,37,17,4,0,4,17,37,63,94
a picture is worth a thousand words
Yeah, we all currently use excel for this but ....
Look Up Tables - Graph - Interpolation
Moderator: Benj
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: Look Up Tables - Graph - Interpolation
Interpolation is a reallity in SW projects and we all suffer with thisJay Dee wrote:look up tables are very useful and a few predefined functions could be very useful. (speeding up program development)
1)
Interpolation: If an input value lies between two points in the table, interpolate for the nearest integer value.
Nearest:If an input value lies between two table values, use the nearest table value.
Round up/round down: If the input value lies between two points, always round up or round down to nearest table value.
2)
However the main point of this request is a more graphical interface to table creation.
In other applications I have been able view a graph of the table values, with the data list to one side so when developing an approximated curve in my table values its easy to see.
for example this is the data for an approximated sine wave...
127,159,190,216,236,249,254,249,236,216,190,159,127,94,63,37,17,4,0,4,17,37,63,94
a picture is worth a thousand words
Yeah, we all currently use excel for this but ....
I truly see the value of such functions
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR