Cross power spectrum MATLAB

3 views (last 30 days)
Yash Dhabi
Yash Dhabi on 13 Aug 2020
Answered: Chaitanya Mallela on 19 Aug 2020
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)

Chaitanya Mallela
Chaitanya Mallela on 19 Aug 2020
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

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!