Hi Aaron The function you want to have a look at is spm_filter and spm_dctmtx, but keep in mind that the range 0-0.01Hz is dominated by scanner noise. Hope this helps Torben Torben Ellegaard Lund Assistant Professor, PhD The Danish National Research Foundation's Center for Functionally Integrative Neuroscience (CFIN) Aarhus University Aarhus University Hospital Building 30 Noerrebrogade 8000 Aarhus C Denmark Phone: +4589494380 Fax: +4589494400 http://www.cfin.au.dk [log in to unmask] On 18/06/2007, at 6.47, aaron qin wrote: > Hi All. > > I met a problem in functional connectivity study using SPM2. I > wanted to generate a set of discrete cosine basis function > (frequency range of 0 - 0.1 hz) as regressors to fit the resting > state data set. My questions are how to determine the number of the > basis function and which functions of spm2 can generate these > function. > > Thank you very much > > -- > Good Luck > > Aaron Qin