Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Graphing wcoher - phase arrows messed up?

2 views (last 30 days)
Luke
Luke on 13 Jul 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello all,
I'm doing wavelet coherence on several data trials I have, and the phase arrows are not looking right. I'm wondering if anyone could take a look at my code and see what I'm doing wrong, if anything. Thanks!
ntw = 21; nsw = 20; freq280 = scal2frq(1:600,'morl',1/2048); COKAMf = wcoher(KM,AM,freq280,'morl','ntw',ntw,'nsw',nsw,'plot'); xlabel('Time'); ylabel('Approximate Frequency (Hz)'); title('Knee & Ankle Moments');
KM and AM are matrices of equal size, with each column being a different trial (80+ trials).
The phase arrows all point perfectly horizontal, which seems like it shouldn't be happening. Like so:

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!