In my experiment a subject has to choose his/her left or right hand according to a visual stimuli presented on a computer screen and write his/her name using the selected hand. I record EMG from both hands. I would like to see whether the subject has choosen the correct hand according to the stimuli from the recorded EMG signal. I use Matlab for EMG analysis.