view 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
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