Dear SPM-experts!
I extracted a timecourse/signal (first eigenvariate) from a couple of regions of interest from a blocked design. However I would like to remove the task-related activation from this signal and there seemed to be to approaches:
1. Simply from the signal of each block substract the mean signal of this block.
2. Deconvolve the signal by modelling task-related signal-changes with the help of the hemodynamic response function and regressing out task-related activation.
The first approach is of course quite easily scripted in matlab, however in the second case I would be very thankful for some hints how to implement this approach in matlab and with the help of spm's functions.
Many thanks for the help!
Jokel