Signal Phase using FFT
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Shounak Shastri
2018-3-19
"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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!