fs = init_filtspec_struct; Initializes fields in a structure with filtering parameters
0001 function fs = init_filtspec_struct 0002 % fs = init_filtspec_struct; 0003 % 0004 % Initializes fields in a structure with filtering parameters 0005 % 0006 0007 fs = struct('low_cutoff',[], ... % low frequency cutoff 0008 'high_cutoff', [], ... 0009 'filt_order', [], ... 0010 'filt_type', '', ... 0011 'inpath', '', ... % directory with input files 0012 'outpath', '' ... % directory for output files 0013 ); 0014 0015 return