Filter löschen
Filter löschen

frequency vectors from cwt

2 Ansichten (letzte 30 Tage)
Kim
Kim am 22 Aug. 2017
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

Antworten (0)

Kategorien

Mehr zu Continuous Wavelet Transforms finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by