I recently have started learning how to code in matlab, i.e. programming simple experience for cognitive psychological investigations. I wanted to ask, whether someone knows both, how to define, where to draw a dot in the screen,and how to define the fixation time before the stimulus onset. I know, that the code for defining a dot position is the following:
dotXpos = [?] * screenXpixels;
dotYpos = [?] * screenYpixels;
However, I don't know, which coordinates define the exact middle of the screen. Thank you in advance!