Signal Phase using FFT

3 views (last 30 days)
Fed
Fed on 19 Mar 2018
Edited: Fed on 4 Apr 2018
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

Accepted Answer

Shounak Shastri
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.
  3 Comments
Shounak Shastri
Shounak Shastri on 21 Mar 2018
You are welcome.
Fed
Fed on 4 Apr 2018
Edited: Fed on 4 Apr 2018
Now that I have calculated the phase using the functions “angle” and “unwrap”, I have to represent the phase of my signals in a polar plot as shown in the figure above. My signals are both 1x10000. I don’t know what to put as arguments of the “polarplot” or “polarscatter” command. How can I do that? Thank you in advance!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!