MATLAB script showing sampling of signals at various frequencies, and processing of Google stock market data to determine an average.