comparison reeval/features/compute_features.m @ 2:b1cd83874633

Major structural revision. Modular organization of functionalities
author Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk>
date Wed, 28 Oct 2015 16:15:47 +0000
parents
children a1f6a08f624c
comparison
equal deleted inserted replaced
1:9a37f107f089 2:b1cd83874633
1 function [db] = compute_features(experiment, src)
2
3 if nargin < 2
4 global src;
5 end
6
7 N = 5*2^17;
8
9 % set the appropriate options for the particular feature set
10
11 options = set_options(experiment);
12
13 % extract features using the computed options
14
15 features = extract_features(experiment, N, options);
16
17 db = prepare_database(src, features);
18 db.features = single(db.features);
19
20 end