Randomize stimuli location in psychtoolbox

I'm using psychtoolbox. I want to draw several squares and I'm using 'fill rect' function to draw each one. How can I make them appear in random locations?

Answers (0)

Asked:

on 14 Jul 2019

Commented:

on 20 Sep 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!