Samples - List of timestamps and corresponding values In FMAToolbox, 'samples' refer to matrices in which the first column contains timestamps, and subsequent columns optionally contain values recorded at these timestamps. (Obviously, in functions implementing statistical tests, the word 'samples' is used in its usual sense). EXAMPLES The simplest case is the spike train of a single neuron. This can be des- cribed as a list of timestamps: t = [ 0.124 0.242 0.587 1.005 ... 15.239 ]; A single local field potential channel contains two columns, one for time and one for voltages: v = [ 0.0008 562 0.0016 451 0.0024 399 0.0032 410 0.0040 362 ... 15.0480 -109 ]; Multiple channels would simply require more columns: v = [ 0.0008 562 520 680 0.0016 451 509 702 0.0024 399 384 716 0.0032 410 358 673 0.0040 362 359 644 ... 15.0480 -109 -150 -287 ];
0001 % Samples - List of timestamps and corresponding values 0002 % 0003 % In FMAToolbox, 'samples' refer to matrices in which the first column 0004 % contains timestamps, and subsequent columns optionally contain values 0005 % recorded at these timestamps. 0006 % 0007 % (Obviously, in functions implementing statistical tests, the word 'samples' 0008 % is used in its usual sense). 0009 % 0010 % EXAMPLES 0011 % 0012 % The simplest case is the spike train of a single neuron. This can be des- 0013 % cribed as a list of timestamps: 0014 % 0015 % t = [ 0.124 0016 % 0.242 0017 % 0.587 0018 % 1.005 0019 % ... 0020 % 15.239 ]; 0021 % 0022 % A single local field potential channel contains two columns, one for time 0023 % and one for voltages: 0024 % 0025 % v = [ 0.0008 562 0026 % 0.0016 451 0027 % 0.0024 399 0028 % 0.0032 410 0029 % 0.0040 362 0030 % ... 0031 % 15.0480 -109 ]; 0032 % 0033 % Multiple channels would simply require more columns: 0034 % 0035 % v = [ 0.0008 562 520 680 0036 % 0.0016 451 509 702 0037 % 0.0024 399 384 716 0038 % 0.0032 410 358 673 0039 % 0.0040 362 359 644 0040 % ... 0041 % 15.0480 -109 -150 -287 ];