combine single channel scalogram into one multi channel scalogram
1 view (last 30 days)
Show older comments
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 Comment
Karen Rijnders
on 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
Answers (0)
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!