Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Graphing wcoher - phase arrows messed up?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152133/image.png)
0 commentaires
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!