Plot EEG signals from struct
显示 更早的评论
From a mat file, I extracted the following parameters:
data: [15×3000000 double]
data_length_sec: 600
sampling_frequency: 5000
channels: {1×15 cell}
Because the data amount is huge I want to plot only a part of the data matrix. How do I use the sampling frequency in that case?
I started this way:
file=load(file.mat);
data= file.data;
x=data(1,1);
y=data(1,:);
y= y(0,1000);
plot(x,y);
采纳的回答
更多回答(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!