How many regressors did you define? How many sessions did you run? The length of condM{i} must be equal to the sum of numbers above. Maybe it's the cause of error. Zhang De Xuan --------------------- Center for Brain and Cognitive Sciences Department of Psychology Peking University Beijing 100871 China Fax: +86 10 6276 1081 Tel: +86 10 6276 8875