Experimental Design

MATLAB and Psychtoolbox experiments in perception, reaction time, and mood assessment.

Audiovisual Perception Study

Examines how sound affects perception of an animation. Two circles meet behind a square while a bonk or whoosh plays, and participants judge whether they bounced or passed through. The program randomizes sound conditions, records responses, and saves results.

View MATLAB code

Auditory Reaction Time Experiment

Runs an auditory reaction-time experiment. Participants hear a tone in the left ear, right ear, or both, and press the spacebar when it plays. The program records response times, manages subject IDs, and saves results using PsychPortAudio.

View MATLAB code

Self-Assessment Manikin (SAM) Tool

Creates an interactive mood-rating tool with the Self-Assessment Manikin (SAM). The program slices icons from an image, highlights them on hover, and lets users select one to match their mood. It handles real-time mouse tracking, screen drawing, and saves the data.

View MATLAB code

Visual Change Detection with Mouse Response

This MATLAB/Psychtoolbox project measures visual change detection with mouse responses. In each trial, two blue circles appear; after a random delay, one circle briefly changes luminance (lighter or darker). Participants click the circle that changed as fast as possible. The program randomizes trial types and delays, records response times and accuracy, and saves results to a subject-specific .mat file.

View MATLAB code

Visual Reaction Time Experiment

Implements a reaction-time experiment in Psychtoolbox. A yellow circle changes color, shape, or position after a random delay, and participants press the spacebar as quickly as possible. The program measures response times, randomizes trials, and saves results.

View MATLAB code
All Computer Science & MATLAB projects