This document describes how to analyze a simple pendulum using MATLAB. It contains the equation of motion for a simple pendulum, notes on defining the equation in MATLAB, instructions for defining the two equations in a script file in MATLAB, and commands for running the code to output graphs of displacement over time and a phase trajectory plot.