I'm using Psychtoolbox to built an experiment using stimuli from different modalities, grouped in different array( audio, image and written words). The item in the differents modalities has to be compound, cause 5 item will be inittialy presented and later recognized within a mixed sequence in all modalities:
I did this code
ImageList={imagelist.jpg}wordList={words}soundlist={soundlist.wav};correctness=[1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2];for k=1:38 compound{k,1}=wordList{k}; compound{k,2}=MyImages{k}; compound{k,3}=word{k}; endrandcompound= Shuffle(compound);for k=1:38 randcompound{k,4}=correctness(k); end
The compound works, but when I shuffle it in randcompound it mix everything.
Any suggestion?
Best Answer