combine single channel scalogram into one multi channel scalogram
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
Karen Rijnders
2020-6-14
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time-Frequency Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!