Effacer les filtres
Effacer les filtres

combine single channel scalogram into one multi channel scalogram

1 vue (au cours des 30 derniers jours)
Haleema Ahsan
Haleema Ahsan le 27 Fév 2020
Commenté : Karen Rijnders le 14 Juin 2020
i have write following code to create scalograms for 32 channels now i want to combine those 32 scalograms in a single scalogram/image please someone help me how to do this
Fs = 128;
fb = cwtfilterbank('SignalLength',7680,...
'SamplingFrequency',Fs,...
'VoicesPerOctave',48);
num=32;
for k=1:num
sig = data(k,1:7680);
[cfs,frq] = wt(fb,sig);
t = (0:7679)/Fs;
figure;pcolor(t,frq,abs(cfs))
set(gca,'yscale','linear');shading interp;axis tight;
title('Scalogram');xlabel('Time (s)');ylabel('Frequency (Hz)')
end
  1 commentaire
Karen Rijnders
Karen Rijnders le 14 Juin 2020
Maybe this is helpfull: https://www.mathworks.com/matlabcentral/answers/488542-how-can-i-combine-complex-spectrogram-results-as-an-image-for-multi-channel-eeg-signal

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by