MATLAB: Signal Phase using FFT

fftsignal phase

I have two cerebral signals registered for 10 minutes with a sample rate of 1000Hz. I have to extract the phase of the signals and the average phase displacement using FFT. The signals are represented by a 2×10000 matrix in MATLAB. How can I do that? Thank you in advance

Best Answer

"I have to extract the phase of the signals and the average phase displacement using FFT"
Use the "fft" and the "fftshift" functions. The phase can be calculated by using the function 'angle' which will give you the phase and then unwrapping it by using the unwrap function. You can search the documentation for the explaination.
Related Question