Think about what makes the code difficult for a moment. You have non-uniformly sampled data and you want to fill in the gaps. That means that you have to account for possible special cases at the start and end of the data and you have to ensure you are using the correct points in between. There is a limit to how much you can make that processing simple.
If you focus on the interpolation loop in my code you will see that:
Where's the problem? {grin}
In reply to Re^3: Interpolating data slope for multiple points
by GrandFather
in thread Interpolating data slope for multiple points
by oko1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |