Simple Catapult Simulation
                    Version 1.0.0.0 (10.1 KB) by  
                  Matthew Kelly
                
                
                  Simulation of a simple catapult using ode45 with event detection.
                
                  
              Two-phase simulation of a simple torsion catapult: 1) catapult arm rotates, accelerating projectile, 2) projectile flies through the air. This code was designed as a tutorial for a sophomore dynamics class, demonstrating how to use ode45 with event detection to solve multiple-phase dynamics problems. It also shows some basic animation and plotting techniques.
Cite As
Matthew Kelly (2025). Simple Catapult Simulation (https://se.mathworks.com/matlabcentral/fileexchange/56469-simple-catapult-simulation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2015b
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
      Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
    
  Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | 
