Dear all,
can anybody help with this design matrix?
2 sessions, 372 volumes each, 4 tasks (N,M,A,MA), six repetition for
each task
and linear parametric modulation.
The only strange thing in this design is the variable duration of
blocks:
some 15 and some 14.
Please see the attached m file.
Thanks in advance.
--
Iole Indovina.
Laboratorio di Neuroimmagini funzionali
Fondazione Santa Lucia
Via Ardeatina 306
Roma 00179 (Italy)
Tel (+39) 0651501376
Fax (+39) 0651501213
%---------------------------------------------------------------
% batch variables defined here for analyses
%---------------------------------------------------------------
analyses = struct( ...
'type', [ 1 ], ...
'index', [ 1 ], ...
'work_dir', [ 1 ], ...
'mfile', [ 1 ] ...
);
%-------------------------------------------
type = {'model','contrasts','defaults_edit','headers',...
'means','realignment','normalisation','smooth'};
%-------------------------------------------
work_dir = { ...
'/elara5/MotorAttentionNew/sessioni/desiati_analisi/analisi_prova'...
};
%-------------------------------------------
mfile = { ...
'/elara5/MotorAttentionNew/sessioni/BATCH_FILES/batch_matrix'...
};
%-------------------------------------------
%---------------------------------------------------------------
% user variables defined here
%---------------------------------------------------------------
cond_names = {'N', 'M', 'A', 'MA' };
%---------------------------------------------------------------
% batch variables defined here for analysis 'model'
%---------------------------------------------------------------
model(1) = struct( ...
'types', 1, ...
'global_effects', {'Scaling'}, ...
'burst_mode', 0, ...
'HF_fil', 'specify', ...
'HF_cut', [512 512], ...
'LF_fil', 'none', ...
'LF_cut', 0, ...
'int_corr', 'none', ...
'now_later', 0, ...
'stop_writing', 0, ...
'trial_fcon', 0, ...
'RT', 3, ...
'replicated', 0, ...
'nsess', 2, ...
'nscans', [372 372], ...
'files', {{}}, ...
'conditions_nb', [4 4], ...
'conditions', [1 1], ...
'regressors_nb', [0 0], ...
'regressors', [], ...
'parametrics_type', {{'time', 'time'}}, ...
'parametrics', [1 1], ...
'stochastics_flag', [0 0], ...
'stochastics', []);
%-------------------------------------------
conditions(1) = struct( ...
'names', {cond_names}, ...
'onsets', {{[0 93 124 217 263 357],[15 62 139 233 248 341],[31 109 155 186 295 325],[47 77 171 201 279 310]}}, ...
'types', {{'epochs', 'epochs', 'epochs', 'epochs' }}, ...
'durations', {{[14 15 14 15 15 15], [15 14 15 15 14 15], [15 15 15 14 15 15], [15 15 15 15 15 14]}}, ...
'bf_ev', {{[0 0 0 0 0 0],[ 0 0 0 0 0 0], [0 0 0 0 0 0],[0 0 0 0 0 0]}}, ...
'bf_ep', {{[2 1 2 1 1 1],[ 1 2 1 1 2 1], [1 1 1 2 1 1],[1 1 1 1 1 2]}}, ...
'volterra', 0, ...
'variable_dur', 0);
parametrics(1) = struct( ...
'name', {'tempo'}, ...
'exp_type', {'linear'}, ...
'trials', {[1:4]});
%-------------------------------------------
bf_ep(1) = struct( ...
'ep_type', 4, ...
'length', 15, ...
'conv', 1, ...
'deriv', 0);
bf_ep(2) = struct( ...
'ep_type', 4, ...
'length', 14, ...
'conv', 1, ...
'deriv', 0);
|