MATLAB Answers

Cross power spectrum MATLAB

6 ビュー (過去 30 日間)
Yash Dhabi
Yash Dhabi 2020 年 8 月 13 日
回答済み: Chaitanya Mallela 2020 年 8 月 19 日
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

回答 (1 件)

Chaitanya Mallela
Chaitanya Mallela 2020 年 8 月 19 日
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

Community Treasure Hunt

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

Start Hunting!

Translated by