Data import and analysis detrend Removes the polynomial trend. max The maximum elements of the array. movmad The moving average is the absolute deviation. xcorr The cross-correlation function.