A nonlinear Simple Pendulum is simulated. Phase plane plot and time vs. displacement plots are updated accordingly. Pendulum equation is nonlinear, it is solved using ode45 of MATLAB. Mass, length, damping, and duration of pendulum can be changed.
KSSV (2020). SimplePendulum (https://www.mathworks.com/matlabcentral/fileexchange/33082-simplependulum), MATLAB Central File Exchange. Retrieved .
Added stop button on the figure window
Included m file to show direction of the lines in phase plane