I am new with Matlab and Psychtoolbox, and I have three codes :
One code that creates circles with a certain pattern of movement that we can call pattern 1
Another code that creates circles with a different pattern of movement (pattern 2)
- A code that plays pattern 1 OR pattern 2 (like we would play a video) on a full screen.
I would like to divide the screen in two where pattern 1 will be played in the upper part, and pattern 2 played in the lower part in 50 % of the trials, and the inverse (pattern 1 in lower part/ pattern 2 in the upper part) in the rest of the trials. Both patterns have to be played at the same time. Is there a function or a set of functions that would allow me to do that?
Thank you very much for your help!