-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilecreatescript.m
More file actions
43 lines (37 loc) · 899 Bytes
/
Copy pathfilecreatescript.m
File metadata and controls
43 lines (37 loc) · 899 Bytes
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
% Wave
figure
plot(cornetFiles.sig(3000:7000));
set(gca,'XLim',[0 4000]);
set(gca,'XTickLabel',xOL);
xlabel('Time(seconds)');
title('Cornet Waveform');
% BMM
figure
for z2 = 1:7
subplot(7,1,z2)
plot(cornetFiles.bmpos(z2+26,3000:7000))
title(['Bmm Pos Channel ' int2str(z2+26)]);
set(gca,'XLim',[0 4000]);
set(gca,'YLim',[0 0.015]);
if(z2 <7)
set(gca,'xticklabel',[])
else
set(gca,'XTickLabel',xOL);
xlabel('Time(seconds)');
end
end
%Spikes
figure
for z2 = 1:7
subplot(7,1,z2)
plot(cornetFiles.chanTrain(z2+26,3000:7000))
title(['Onset Spikes Channel ' int2str(z2+26)]);
set(gca,'XLim',[0 4000]);
set(gca,'YLim',[0 10]);
if(z2 <7)
set(gca,'xticklabel',[])
else
set(gca,'XTickLabel',xOL);
xlabel('Time(seconds)');
end
end