<div dir="ltr"><div><div><div><div><div><div>Hello<br><br></div>I'm importing my already preprocessed data from eeglab and want to run an FFT. I'm using cfg.foilim to specify my frequencies of interest, but the output is in .5 Hz increments rather than just an average over the frequency band. I've tried using a colon instead of a space and I've tried using cfg.foi. Could anyone tell me how to get an average power rather than the power at each frequency?<br><br></div>Here's my code for reference:<br>cfg = [];<br>cfg.method = 'mtmfft'; %run an fft<br>cfg.taper = 'hanning'; %chose a hanning window<br>cfg.foilim = [8 13]; %frequencies of interest. In this case, alpha<br>cfg.output = 'pow'; %output in power<br><br></div>Brittany Alperin<br></div>Graduate Student, Behavioral Neuroscience<br></div>Oregon Health and Science University<br></div>Portland, OR<br></div>