view reeval/features/compute_features.m @ 4:a1f6a08f624c tip

Completed version 0.0.2
author Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk>
date Tue, 03 Nov 2015 21:24:41 +0000
parents b1cd83874633
children
line wrap: on
line source
function [db] = compute_features(experiment, src)

  if nargin < 2
    global src;
  end

  N = 5*2^17;
 
  % set the appropriate options for the particular feature set

  options = set_options(experiment);

  % extract features using the computed options

  features = extract_features(experiment, N, options);
  
  db = prepare_database(src, features);
  
  db.features = single(db.features);
  
end