extract phase of a signal using fft

I have two cerebral signals represented by a 2x10000 matrix and registered for 10 minutes. I have to extract the phase of the signals and calculate the average phase displacement using FFT. Can someone help me with the matlab code? I know I can use the functions "angle" and "unwrap" but I don’t know how to write the code. Thank you in advance!

 Accepted Answer

https://in.mathworks.com/help/matlab/ref/fft.html
https://in.mathworks.com/help/matlab/ref/angle.html

More Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Asked:

Fed
on 23 Mar 2018

Commented:

Fed
on 29 Mar 2018

Community Treasure Hunt

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

Start Hunting!