phase = angle(fft(x)) * 180/pi ; figure; subplot(311); plot(x); subplot(312); plot(y);
Read moreWhat is FFT phase?
The output of the FFT is a complex vector containing information about the frequency content of the signal. The magnitude tells you the strength of the frequency components relative to other components. The phase tells you how all the frequency components align in time .
Read moreDoes FFT have a phase?
FFT result bins within a rounding error of zero often have random phases . Whereas the angle of a non-zero length vector actually points somewhere. Note that a cosine and a sine of the same frequency are orthogonal. A ratio of the two (cosine and sine) is required to represent any sinusoid of that same frequency.11 May 2017
Read more