Here is an example MATLAB script for FFT with windowing Here is a document on how to combine data points each with their own standard deviation. Index of refraction of various materials. Here is a MATLAB based app to look at Mortgages