Here is an easy one for math expert:
I have an array in Flash AS3 project that has slots from myArray to myArray. Each represents one degree of a full 360 degree circle. Some of those slots are empty and some contain values between -50 and 50.
I need someone to make me a function that is able to fill in the missing values into the array, using spline interpolation (or similar, that produces smooth curves, and does not cause oscillating).
See more info here: [url removed, login to view]
Notice that the array represents a continuous circle, so the measured values at the end should affect the calculated values in the beginning of the array - and measured values at the start affect the values at the end.
The function should be well commented.