MATLAB Answers

Cross power spectrum MATLAB

5 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

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!