-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlstCompare.m
58 lines (40 loc) · 868 Bytes
/
lstCompare.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
% lst compare
[EEG,ERP,erns] = altairLstPreproc(fName,binListerPath,channelLocationFile);
x=EEG.data;
ern1=squeeze(x(:,:,1));
ern2=squeeze(x(:,:,2));
chanSel=32;
e1=ern1(chanSel,:);
e2=ern2(chanSel,:);
t=linspace(-200,1000,length(e1));
figureHandle2=figure;
los=e1;
win=e2;
plot(t,(los))
ylabel('Voltage (uV)')
xlabel('Time (ms)')
hold on;
plot(t,(win))
legend('Loss','Win')
hold off;
clear EEG;
clear ERP;
clear erns;
[EEG,ERP,erns] = altairDoorsPreproc(fName,binListerPath,channelLocationFile);
x=EEG.data;
ern1=squeeze(x(:,:,1));
ern2=squeeze(x(:,:,2));
chanSel=32;
e1=ern1(chanSel,:);
e2=ern2(chanSel,:);
t=linspace(-200,1000,length(e1));
figureHandle2=figure;
los=e1;
win=e2;
plot(t,(los))
ylabel('Voltage (uV)')
xlabel('Time (ms)')
hold on;
plot(t,(win))
legend('Loss','Win')
hold off;