Signal Phase using FFT
3 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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
3 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!