Video on Randomizing Things in MATLAB

This video explores the topic of randomizing things in MATLAB, for example, randomizing the order of trials or conditions in an experiment, randomizing the order of questions in a survey or quiz, or generating random events in a program that implements a model or simulation.

Lecture Video

The following link takes you to the video posted on YouTube:

The video file is also stored in the folder on Google Drive that we shared with you earlier. The video file in this folder is named random.mp4 (424 MB).

Video Transcript

The following pdf file provides a transcript of the video:

The video material is presented in a MATLAB Live Script, and you can also access a pdf of this Live Script here:

The above pdf files are also stored in the shared folder on Google Drive.

Code Files

The MATLAB Live Script used in the video can be found in the cs112 course directory on the CS file server, in a folder named random in the download folder (also stored in the shared Google folder). A zip file with the code folder is also posted on the course schedule page, on the April 30th lecture spot.