Info
此问题已关闭。 请重新打开它进行编辑或回答。
Graphing wcoher - phase arrows messed up?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!