Hi
no automatic button but it's quite easy ...
put your regressors in a matrix X1 in the order you want them to be
orthogonalized and then use X2 = spm_orth(X1)
it's a recursive Gram-Schmidt orthogonalization :-)
best
Cyril
> Dear all,
>
> Can I orthogonalize regressors automatically in SPM5?
>
> For example, I may add several regressors by selecting 'specify
> 1st-level -> fMRI model specification -> Data & Design -> Regressors.'
>
> These regressors may or may not be orthogonal to each other. So I
> wonder if there is a button or command that orthogonalizes all
> regressors in a model, in SPM5.
>
> If there isn't one, can someone recommend me a good way to
> orthogonalize them? e.g. a MATLAB function.
>
> Thank you in advance.
>
> HR Kang.
>
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|