Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Hi, I would like to generate a colored screen with a 4

1 view (last 30 days)
Hi, I would like to generate a screen with a 4 square colored that flash or change color at a frequency chosen, on a black background I tried with Psychtoolbox, but I can not create it. Can you suggest lines of code that do this? Thanks in advance for the help. Greetings, Danilo.

Answers (1)

Chaya N
Chaya N on 19 Oct 2016
Create a simple GUI with four blocks for the colors.
  5 Comments
Chaya N
Chaya N on 19 Oct 2016
If you will be running this program on external hardware (like one of the TDT systems), then you may be able to sample the frequency from the external hardware itself. Doing it purely in MATLAB is not possible unless you have some other signal you are synchronizing it to.

This question is closed.

Community Treasure Hunt

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

Start Hunting!