gpt4 book ai didi

matlab - 使用 Matlab FFT 从 EEG 信号中提取频率

转载 作者:太空宇宙 更新时间:2023-11-03 19:45:02 30 4
gpt4 key购买 nike

我是 BCI 新手。我有来自 Neurosky 的 Mindset EEG 设备我将来自设备的原始数据值记录在 csv 文件中。我可以从 csv 中读取数据并将其提取到 Matlab 中,然后应用 FFT。我现在需要从 FFT 中提取某些频率(Alpha、Beta、Theta、Gamma)。

其中 Delta = 1-3 Hz

Theta= 4-7 赫兹

阿尔法 = 8-12 赫兹

贝塔 = 13-30 赫兹

Gamma = 31-40 赫兹

这是我目前所做的:

f = (0:N-1)*(Fs/N);
plot(rawDouble);
title ('Raw Signal');
p = abs(fft(rawDouble));
figure,plot (f,p);
title('Magnitude of FFT of Raw Signal');

谁能告诉我如何从信号中提取那些特定的频率范围?非常感谢!

最佳答案

为了使用 MatLab 方便地分析 EEG 数据,您可以考虑使用 EEGLAB 工具箱 (http://sccn.ucsd.edu/eeglab/) 或实地考察工具箱 (http://fieldtrip.fcdonders.nl/start)。

两个工具箱都带有很好的教程:

http://sccn.ucsd.edu/eeglab/eeglabtut.html

http://fieldtrip.fcdonders.nl/tutorial

关于matlab - 使用 Matlab FFT 从 EEG 信号中提取频率,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10516980/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com