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.
Zitieren als
KSSV (2024). SpringPendulum (https://www.mathworks.com/matlabcentral/fileexchange/33168-springpendulum), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Numerical Integration and Differential Equations >
- Physical Modeling > Simscape Multibody > Multibody Modeling > Assembly >
- Sciences > Physics > General Physics > Classical Mechanics >
Tags
Quellenangaben
Inspiriert von: Arrowhead, Spring() To plot and animate a 2D-Spring
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
SpringPendulum/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.4.0.0 | Added stop button to close the animation, and the animation is modified to have exact spring like behavior. |
||
1.2.0.0 | Preview image added |
||
1.0.0.0 |