I would like to add respiration data as a nuisance regressor to a resting state fMRI analysis. As the fMRI data is recorded at a frequency of 0.5 Hz (TR = 2000ms) the respiration data has to be down-sampled from its 1000 hz.
I am currently struggling to decide on a down-sampling method. My current preferred choice is MATLAB's decimate function which simply decreases the sampling rate and automatically applies appropriate low-pass filters to avoid aliasing.
I was, however, hoping to find a more nuanced filter which averages values in certain ranges rather than cut them out entirely.
Any suggestions?