Simple Pendulum Simulation

Simulates the motion of a simple pendulum.

You are now following this Submission

Matlab program to simulate the motion of a simple pendulum. Uses a numerical ODE solver. Solutions are converted to Cartesian coordinates and are plotted at each time interval.
In addition, the user of given the option of selecting either a phase portrait or time series plot.
Feel free to change initial conditions and parameters (i.e. pendulum length).

Enjoy :)

Cite As

James Adams (2026). Simple Pendulum Simulation (https://ch.mathworks.com/matlabcentral/fileexchange/46101-simple-pendulum-simulation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Program amended. Missing label added and no error messages in command window.

1.0.0.0