## Experiment 1: Effect of Speed Type ##
**Exp 1 MATLAB code** contains 3 MATLAB files
**JND_script** requests a subject ID and sets up the test conditions. This script then calls **speed_JND** to execute the two-alternative forced choice protocol with the requested conditions.
Once all conditions have been run with the desired number of subjects, **JND_analysis_exp1** will analyze the data and generate plots. Note that analyses assume a fully-blocked design, and the script will fail to run if all conditions have not been run for all subjects.
## Experiment 2: Effect of Reference Frame Speed Shift ##
**Exp 2 MATLAB code** contains 4 MATLAB files
**JND_script** requests a subject ID and sets up the test conditions. This script then calls **jointJND** or **linearJND** to execute the two-alternative forced choice protocol with the requested conditions.
Once all conditions have been run with the desired number of subjects, **JND_analysis_exp2** will analyze the data and generate plots. Note that analyses assume a fully-blocked design, and the script will fail to run if all conditions have not been run for all subjects.
## Experiment 3: Effect of Audio Feedback ##
**Exp 3 MATLAB code** contains 4 MATLAB files
**JND_script_audio** requests a subject ID and sets up the test conditions. This script then calls **jointJND_audio** to execute the two-alternative forced choice protocol with the requested conditions. Note that this function loads variables from **feedbackModels.mat**.
Once all conditions have been run with the desired number of subjects, **JND_analysis_exp3** will analyze the data and generate plots. Note that analyses assume a fully-blocked design, and the script will fail to run if all conditions have not been run for all subjects.