frequency vectors from cwt

1 次查看(过去 30 天)
Kim
Kim 2017-8-22
I am running cwt with Morlet wavelets with this code:
for i=1:size(signal,3)
for ii = 1:size(signal,1)
[coef(:,:,ii,i),freq(:,:,ii,i),~] = cwt(signal(ii,:,i),wname,'NumOctaves',numOctaves,'VoicesPerOctave',numVoices,fs);
end
end
However, the frequency vectors appear to change depending on the value of ii and i. I don't understand this because we are using the same algorithm with the same parameters at each step. This means I cannot average across EEG trials because the psuedofrequencies do not line up. Has anyone ever experienced this problem? Thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Continuous Wavelet Transforms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by