Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Danilo Esposito
Danilo Esposito le 19 Oct 2016
Clôturé : MATLAB Answer Bot le 20 Août 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.

Réponses (1)

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

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by