Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Danilo Esposito
Danilo Esposito el 19 de Oct. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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.

Respuestas (1)

Chaya N
Chaya N el 19 de Oct. de 2016
Create a simple GUI with four blocks for the colors.
  5 comentarios
Chaya N
Chaya N el 19 de Oct. de 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.
Danilo Esposito
Danilo Esposito el 19 de Oct. de 2016
OK, thanks for your help. Best regards, Danilo.

Community Treasure Hunt

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

Start Hunting!

Translated by