Cross power spectrum MATLAB

Hi all,
I am trying to find the cross power spectrum of two signals. I have written a code but it shows errors.
Could someone please help me with it ?
I have attached the code, data files i used in it and the error message i am getting.
Thank you

Answers (1)

Error occured due to the incorrect matrix dimensions of f1 and vec_Vph in the scatter plot. Try checking the code by modifying t_travel expression.
t_travel=(abs(phi_actual)/360)'*1./f1; %Travel time

Products

Asked:

on 13 Aug 2020

Answered:

on 19 Aug 2020

Community Treasure Hunt

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

Start Hunting!