matlab基于发作间期EEG的癫痫自动诊断系统

1、内容简介

2、内容说明

3、仿真分析

clc
clear
close all

%企q号q:1762016542
load DATA.mat
fs=173.61;
t = 0:1/fs:177/fs;
x1 = X(1,1:178);
figure
plot(t,x1)
xlabel 时间/s
ylabel 幅值
title 时域
x_end = X(:,end);
disp('种类数目')
min(x_end)
max(x_end)
[f,y0]=change_fft(fs,x1);
figure
plot(f,y0)
xlabel 频率/Hz
ylabel 幅值
title 频域
num = length(x_end);
PSK = zeros(num,5);
RIR1 = zeros(num,5);
for i = 1:num
    [f,y0]=change_fft(fs,X(i,1:178));
    PSK(i,:) = PSI(f,y0);%调用函数
    temp = PSI(f,y0);
    RIR1(i,:) = RIR(temp);
end
figure
plot(PSK(:,1))
hold on 
plot(PSK(:,2))
hold on 
plot(PSK(:,3))
hold on 
plot(PSK(:,4))
hold on 
plot(PSK(:,5))
hold off
xlabel 行数
ylabel PSI
title 功率谱

figure
plot(RIR1(:,1))
hold on 
plot(RIR1(:,2))
hold on 
plot(RIR1(:,3))
hold on 
plot(RIR1(:,4))
hold on 
plot(RIR1(:,5))
hold off
xlabel 行数
ylabel RIR
title 功率谱

xlswrite('data.xls', [PSK RIR1], 'Sheet1')  

 

4、参考论文
基于发作间期EEG的癫痫自动诊断系统的研究与设计_刘国权.caj

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值