Programming a Reaction Timer Test

조회 수: 14 (최근 30일)
Aaron
Aaron 2012년 4월 21일
My friend and I are interested in creating our own version of a reaction timer test. We've only just started to use Matlab so we aren't totally familiar with everything on Matlab yet and searching on Google hasn't come up with any promising results.
It's just a simple reaction test which will be based on your sight and perhaps hearing (unsure if we would be able to program it to play a sound at random).
Need a lot of help! Thanks!

답변 (3개)

Walter Roberson
Walter Roberson 2012년 4월 21일
You will need to use the tools there (or equivalent) if you are working with sound, as normal MATLAB sound production has too much latency and variability for use in a reaction test.
  댓글 수: 1
Aaron
Aaron 2012년 4월 21일
Is it possible to do it without any external tools? Just the basic functions that are supplied with Matlab itself?

댓글을 달려면 로그인하십시오.


Daniel Shub
Daniel Shub 2012년 4월 22일
How accurate does the timing need to be? If you are looking for sub millisecond timing, then no. If you want centisecond timing, then you need something that gives you low level access to your video and/or audio devices (i.e., http://psychtoolbox.org/HomePage). If you want decisecond timing then
drawnow expose
id = tic;
waitforbuttonpress;
reactionTime = toc(id);
  댓글 수: 2
Aaron
Aaron 2012년 4월 25일
Only problem is, even with that, I have no idea how to start :/
Daniel Shub
Daniel Shub 2012년 4월 25일
I suggest http://www.mathworks.co.uk/help/techdoc/learn_matlab/bqr_2pl.html

댓글을 달려면 로그인하십시오.


Daniel Shub
Daniel Shub 2012년 4월 25일
MATLAB and the toolboxes provided by TMW is very powerful for general problems. Contribution on the FEX and other places can greatly enhance the power of MATLAB for specific problems, like reaction time tasks. Learning how to use PsychToolbox could be really useful. Although I haven't used it myself, and I don't know if it does reaction time, you may also want to look at MLP
Given that you do not want to use "external tools", know very little about MATLAB, and don't seem to want to learn, then I suggest you look at PsychoPy. There is even a video tutorial which creates the Stroop task (a reaction time task) in 15 minutes.

카테고리

Help CenterFile Exchange에서 Timing and presenting 2D and 3D stimuli에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by