From fc41ed529e3d5519cccecd9cab1e5248afc2f852 Mon Sep 17 00:00:00 2001 From: Jeffsan Date: Thu, 23 Nov 2017 12:24:31 +0800 Subject: [PATCH] fix run_me.m --- recognition/run_me.m | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/recognition/run_me.m b/recognition/run_me.m index df12546..754288a 100644 --- a/recognition/run_me.m +++ b/recognition/run_me.m @@ -3,4 +3,14 @@ activity_recognition; % run recognition demo and show results -%% you may also run show_example after running data_conversion to visulize the signals. \ No newline at end of file +%% you may also run show_example after running data_conversion to visulize the signals. +show_example + +%% Example to use KCC similarity +lambda = 0.0015; +sigma = 1; + +correlator = kcc_train(example1, lambda, sigma); + +similarity_12 = kcc(example2, correlator) +similarity_13 = kcc(example3, correlator) \ No newline at end of file