Code covered by the BSD License  

Highlights from
SpringPendulum

Be the first to rate this file! 41 Downloads (last 30 days) File Size: 4.09 MB File ID: #33168
image thumbnail

SpringPendulum

by Siva Srinivas Kolukula

 

07 Oct 2011 (Updated 04 Nov 2011)

Simulation of Nonlinear Spring Pendulum

| Watch this File

File Information
Description

A nonlinear Spring Pendulum is simulated. Phase plane plots for the spring motion and pendulum motion are updated accordingly. Pendulum equation is nonlinear, it is solved using ode45 of MATLAB. Mass, length, and duration of pendulum and initial values can be changed depending on the requirement.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Arrowhead, Spring() To plot and animate a 2D-Spring

Required Products MATLAB
MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
01 Nov 2011 Siva Srinivas Kolukula

see the link:http://www.youtube.com/watch?v=STAlZWTVf9k for animation

04 Nov 2011 Siva Srinivas Kolukula

See the updated animation in the link:
https://sites.google.com/site/kolukulasivasrinivas/mechanics/spring-pendulum

Please login to add a comment or rating.
Updates
14 Oct 2011

Preview image added

04 Nov 2011

Added stop button to close the animation, and the animation is modified to have exact spring like behavior.

Tag Activity for this File
Tag Applied By Date/Time
spring pendulum Siva Srinivas Kolukula 07 Oct 2011 10:08:36
animation Siva Srinivas Kolukula 07 Oct 2011 10:08:36
ode45 Siva Srinivas Kolukula 07 Oct 2011 10:08:36
arrows Siva Srinivas Kolukula 07 Oct 2011 10:08:36
nonlinear equations Siva Srinivas Kolukula 07 Oct 2011 10:08:36
simulation Siva Srinivas Kolukula 07 Oct 2011 10:08:36
phase plane Siva Srinivas Kolukula 07 Oct 2011 10:08:36
spring Siva Srinivas Kolukula 04 Nov 2011 09:12:37

Contact us at files@mathworks.com