EEG sequencies visualization ideas
3 views (last 30 days)
Show older comments
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")];
0 Comments
Answers (2)
Star Strider
on 10 Mar 2025
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 Comments
Star Strider
on 10 Mar 2025
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
on 10 Mar 2025
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!
0 Comments
See Also
Categories
Find more on EEG/MEG/ECoG 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!