combine single channel scalogram into one multi channel scalogram

4 Ansichten (letzte 30 Tage)
Haleema Ahsan
Haleema Ahsan am 27 Feb. 2020
Kommentiert: Karen Rijnders am 14 Jun. 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 Kommentar
Karen Rijnders
Karen Rijnders am 14 Jun. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Time-Frequency Analysis 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