File Exchange

image thumbnail


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


Updated 31 Oct 2011

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 (2020). SimplePendulum (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

KSSV --> Lux!

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


Added stop button on the figure window

Included m file to show direction of the lines in phase plane

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

Inspired by: Arrowhead, Animated Double Pendulum