Azzera filtri
Azzera filtri

frequency vectors from cwt

2 visualizzazioni (ultimi 30 giorni)
Kim
Kim il 22 Ago 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

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by