f@2: function [sc1_opt] = set_sc1_options(experiment) f@2: f@2: switch(experiment) f@2: f@2: case {'mfcc_740ms', 'time_scat_l1'} f@2: sc1_opt.M = 1; f@2: case {'time_scat_l2', 'time_freq_scat_l2', 'time_freq_scat_l2_adap_q1'} f@2: sc1_opt.M = 2; f@2: case 'time_scat_l3' f@2: sc1_opt.M = 3; f@2: otherwise f@2: error(['Unknown experiment ', experiment, '. Aborting']); f@2: end f@2: f@2: end