Then there is a factor matrix that you can build in matlab and load in using the following:

assumes factor 1=subject

assumes factor 2=group

assumes factor 3=condition

x=transpose([1:1:3*8*15]);

x(1:8,2)=1;

for i=9:length(x)

x(i,2)=x(i-8)+1;

end

x(:,3)=[ones(15*8,1); ones(15*8,1)*2; ones(15*8,1)*3];

x(1:8,4)=transpose([1 2 3 4 5 6 7 8]);

x(1:8,4)=transpose([1 2 3 4 5 6 7 8]);

for i=9:length(x)

x(i,4)=x(i-8);

end

In the factor matrix, type x

this will load the matrix you built in matlab.

On Fri, May 22, 2009 at 10:30 AM, Ciara McCabe <[log in to unmask]> wrote:

Dear SPMers

I am trying to load data into a flex factorial design and having problems

I have 3 groups and 8 conditions and 15 subjects per group

should I then put the data in for each subject at a time (45 times) or is there a way to enter it all at once?

Thanks in advance!

Ciara

--

Best Regards, Donald McLaren

=====================

D.G. McLaren

University of Wisconsin - Madison

Neuroscience Training Program

Office: (608) 265-9672

Lab: (608) 256-1901 ext 12914

=====================

This e-mail contains CONFIDENTIAL INFORMATION which may contain PROTECTED HEALTHCARE INFORMATION and may also be LEGALLY PRIVILEGED and which is intended only for the use of the individual or entity named above. If the reader of the e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that you are in possession of confidential and privileged information. Any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this e-mail unintentionally, please immediately notify the sender via telephone at (608) 265-9672 or email.