background image

Cubic interpolation


Cubic interpolation

The meteorological data I’ll be using for Generator.x are daily means except for daily max and min temperature. The variations from one day to the next are fairly strong so using linear interpolation curves tend to look triangular. In order to get smoother transitions I’ll use cubic interpolation instead. I’ve just made an abstraction for cubic interpolation for data represented as FTM fmat matrixes.


comments powered by Disqus


Creative Commons License Licensed under a Creative Commons Attribution 3.0 Norway License. Web site hosted by BEK.