Signal Phase using FFT
6 views (last 30 days)
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 2x10000 matrix in MATLAB. How can I do that? Thank you in advance
Shounak Shastri on 19 Mar 2018
"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.
Here is an example in the matlab documentation https://in.mathworks.com/help/matlab/examples/fft-for-spectral-analysis.html