How to reference value in 14x19x101 array
显示 更早的评论
I have a dataset freq_segmented which contains EEG FFT data from 14 trials from 19 channels for 101 freqencies (3-15 in tenths of a hz) stored in the field powspectrm.

When I look at the data it appears as below. Val(:,:,1) continues to val(:,:,101).

It appears that the 19 columns hold data for the 19 channel sensors, 1 value per 101 frequency portions.
How can I access a particular row, column, and frequency?
">> freq_segmented.powspctrm" returns the data as formatted in the image above.
">> freq_segmented.powspctrm{:,:,1};" returns the error Cell contents reference from a non-cell array object.
">> freq_segmented.powspctrm.val(1,1,1);" returns the error Struct contents reference from a non-struct array object.
">> freq_segmented.powspctrm(:,:,1);" returns nothing
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 EEG/MEG/ECoG 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!