- Joined
- Feb 26, 2004
- Messages
- 9,850
This will be of little interest to the vast majority of UKB users I'm sure, however, I'm trying to code something (supposedly to make my life easier) and I'm currently limited to SciLab (having learnt Matlab at University).
What I'm trying to do is fairly simple; linearly interpolate between values and return another value, e.g:
x y
300 1000
200 850
100 600
Return y value for x = 150.
I've realised that all of the interpolate functions I've found relate to data fitting and thus aren't really working for this. Any clues?
:tumble:
What I'm trying to do is fairly simple; linearly interpolate between values and return another value, e.g:
x y
300 1000
200 850
100 600
Return y value for x = 150.
I've realised that all of the interpolate functions I've found relate to data fitting and thus aren't really working for this. Any clues?
:tumble: