TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
HST_feat_example.m
Go to the documentation of this file.
1 %> @file HST_feat_example.m
2 addpath(genpath('../../../'));
3 
4 %Acquire the raw signal
5 raw = csvread('HST_example.csv')';
6 
7 %Create a signal
8 sig = HST_aqn_variable(raw, 1024);
9 
10 %Filter the signal
11 sig = HST_filter_basic(sig);
12 
13 %Calc the HST mean
14 mean = HST_feat_mean(sig)
15 
16 %Calc the mean of the derivation of the hst
17 meanderiv = HST_feat_meanderiv(sig)
18