EEG sequencies visualization ideas

4 次查看(过去 30 天)
Ahmed
Ahmed 2025-3-9
回答: Diego Caro 2025-3-10
I'm looking for ideas on how to visualize my EEG signal data for sequence classification. My dataset consists of 62 channels, and the data is organized in a cell format where each element is a 2D matrix with dimensions 62 by timestep. What are some effective ways to represent this data in a 2D graph to showcase the samples?
* The feature extraction technique is embedded in the netLayer:
netSPN = [sequenceInputLayer(numChannels,"MinLength",800,"Name","input");
cwtLayer("SignalLength",200,"IncludeLowpass",true,"Wavelet","amor")];

回答(2 个)

Star Strider
Star Strider 2025-3-10
Based oin your description, my choice would be tiledlayout. It would be relatively straightforward to put each sequence in a vertical ‘stack’ using that function. Once you decide on the number of plots you want, the rest could be done in a for loop.
  4 个评论
Ahmed
Ahmed 2025-3-10
Can I visulaize the CWT results on a certain graph to see how smaple points are related together?
Star Strider
Star Strider 2025-3-10
It depends on what you are plotting. Just now, I do not have any idea what that actually is.
If you are plotting the different wavelet decompositions over the same time range, then stackedplot (or a consecutive series of stackedplot figures) might be best. If you are plotting single traces consecutively, then tiledlayout might be best. There are also Wavelet Toolbox plots that could do what you want.

请先登录,再进行评论。


Diego Caro
Diego Caro 2025-3-10
Hi, if you're familiar with eeglab, I'd suggest you use my function: dcaro_stacked.m (I just published it, lol)
It's just a fancier way to visualize eeg channels/components than using the regular eegplot or pop_eegplot.
Hope it helps!

类别

Help CenterFile Exchange 中查找有关 EEG/MEG/ECoG 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by