Simultaneously correction of frequency and phase drifts in MRS data using cross-correlation technique.
Brief description of files
spectXcorr.m : Main file for estimating and applying frequency and phase. SCexample.m : Example demonstrating how to use the algorithm. sampleData.mat : Simulated data containing two peaks with different shifts.