Probably a simple question to answer. I have been trying to use the fft function in MATLAB and have been succesful to get the amplitude spectrum of a known signal. But when working out the phase spectrum I am unsure if its the correct output.
Can anyone explain what the phase spectrum in fft is used for? I have researched other places but have not a satisfactory answer.
If for example I had a pure sine wave what would the phase spectrum show and how will I know if it is correct.
I can give example of my MATLAB code if necessary but if someone can give a basic explanation using MATLAB it will be much appreciated.