Mercurial > hg > emotion-detection-top-level
comparison Code/Descriptors/yin/private/dftoperiod copy.m @ 4:92ca03a8fa99 tip
Update to ICASSP 2013 benchmark
author | Dawn Black |
---|---|
date | Wed, 13 Feb 2013 11:02:39 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:e1cfa7765647 | 4:92ca03a8fa99 |
---|---|
1 % prd=dftoperiod(d,b,t) - estimate period from difference function | |
2 % | |
3 % prd: row matrix of period estimates | |
4 % | |
5 % d: column vector or matrix of difference functions | |
6 % b: bounds matrix ([lo, hi]) | |
7 % t: threshold | |
8 % | |
9 % Difference functions are supposed to be cumulative-mean-normalized. | |
10 % For each column of d, search for the first minimum between lo and hi that | |
11 % falls below threshold. The index of this minimum (re 0) | |
12 % is the period estimate. | |
13 % | |
14 % Mex function. |