Skip to content

Commit adcc58d

Browse files
author
Stephanie
committed
bug fix regarding channelwise computation
1 parent 2845d43 commit adcc58d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processing/proc_normalizeTimeFrequencyData.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
[opt, isdefault]= opt_setDefaults(opt, props);
4747
opt_checkProplist(opt, props);
4848

49-
nC = size(dat,3);
49+
nC = size(dat.x,3);
5050
switch(lower(opt.Pos)),
5151
case 'beginning_exact', % [-150 0] = 15 samples not 16 (at fs= 100 Hz)
5252
% len= round(diff(ival)/1000*dat.fs);

0 commit comments

Comments
 (0)