Psychtoolbox-3

Psychophysics Toolbox Version 3 (PTB-3) is a free set of Matlab and GNU Octave functions for vision and neuroscience research. It makes it easy to synthesize and show accurately controlled visual and auditory stimuli and interact with the observer.

  • Getting started
    • News
    • Overview
    • Versions
    • System Requirements
    • Download
  • Getting help
    • Tutorial
    • Function Reference
    • FAQ
    • Forum
  • Diving in
    • Contribute to the project
    • Wiki
    • Bugs & Feature requests
    • Git repository
  • Support Forum
  • Automatic Installer
  • Download PTBZIP File
  • View On GitHub

RectCenter

>Psychtoolbox>PsychRects

[x,y] = RectCenter(rect);

[RectCenter](RectCenter) returns the integer x,y point closest to the center of a rect.    
  
See also [PsychRects](PsychRects), [CenterRectOnPoint](CenterRectOnPoint).  
Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychRects/RectCenter.m

edit and fork this page on GitHub

Last updated on December 04, 2019