TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
ECG_feat_IBI_test.m
Go to the documentation of this file.
1 %> @file ECG_feat_IBI_test.m
2 %!test
3 %! addpath(genpath('../../../'));
4 %!
5 %! probe1 = csvread('ECG_example_probe1.csv');
6 %! probe2 = csvread('ECG_example_probe2.csv');
7 %!
8 %! sig = ECG_aqn_variable(probe1, probe2, 1024);
9 %!
10 %! IBImean = ECG_feat_IBImean(sig);
11 %! IBIvar = ECG_feat_IBIvar(sig);
12 %!
13 %! assert(IBImean, 0.60692, 0.001);
14 %! assert(IBIvar, 0.0034596, 0.0001);
ECG_aqn_variable
function ECG_aqn_variable(in ECG, in ECG2, in sampRate)
ECG_feat_IBIvar
function ECG_feat_IBIvar(in ECGSignal)
ECG_feat_IBImean
function ECG_feat_IBImean(in ECGSignal)