File Exchange

image thumbnail


version (3.4 MB) by KSSV
Simulation of Nonlinear Simple Pendulum


Updated 31 Oct 2011

View Version History

View License

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.

Cite As

KSSV (2021). SimplePendulum (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Yan Koon Ang

Hi is it possible to control the pendulum's length while it is in motion?
Meaning, while the pendulum is oscillating about the pivot, is it possible to increase its length slowly to a new length?

Pavel Osipov

KSSV --> Lux!

Nishant Sharma

Sir what should I provide as inputs in the order ivp, duration, fps, movie, arrow?

Wyfi Mcfly

great physics demo


Mr Smart


Animation can be viewed in the link

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Arrowhead, Animated Double Pendulum

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!