MATLAB simulation for a simple pendulum
The code is a slight modification of https://www.mathworks.com/matlabcentral/fileexchange/33082-simplependulum.
To run the simulation open file SimplePendulum.m (the main file).