Projectile Target Simulation with MATLAB

Robot Shooter
Can you create a simulation where the projectile is to hit a target?
M. Thorburn
Cal State University, Los Angeles
Problem 1 – Robot Shooter
Step 1.
Follow the instructions in the word document
Lesson 13 Robot Shooter.doc
and create a simple simulation of a projectile shot from a robot
Step 2.
If you set the disturbance to zero, what MATLAB tools could you use to
determine the right combination of velocity and angle to hit the target?
Step 3.
What techniques could you use when the disturbance is not zero?
Problem 2 – Using animatedline
We had written a program that
computed the trajectory of a
projectile (a cannon ball?  a
basketball?  your choice).
Rewrite the program to use an
animatedline and show the
projectile path across the screen
given as input the initial angle
from horizon and the initial
velocity?
Problem 3. Add a Drag Force
Slide Note
Embed
Share

Explore three challenging problems involving projectile simulations with MATLAB. Step-by-step solutions are provided to create simulations, determine optimal parameters, utilize animated lines for trajectory visualization, and incorporate drag force equations. Enhance your MATLAB skills in projectile physics simulations.

  • MATLAB
  • Simulation
  • Projectile
  • Target
  • Animation

Uploaded on Oct 07, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Robot Shooter Can you create a simulation where the projectile is to hit a target? M. Thorburn Cal State University, Los Angeles

  2. Problem 1 Robot Shooter Step 1. Follow the instructions in the word document Lesson 13 Robot Shooter.doc and create a simple simulation of a projectile shot from a robot Step 2. If you set the disturbance to zero, what MATLAB tools could you use to determine the right combination of velocity and angle to hit the target? Step 3. What techniques could you use when the disturbance is not zero?

  3. Problem 2 Using animatedline We had written a program that computed the trajectory of a projectile (a cannon ball? a basketball? your choice). Rewrite the program to use an animatedline and show the projectile path across the screen given as input the initial angle from horizon and the initial velocity?

  4. Problem 3. Add a Drag Force Drag Equation ??=1 2??2??? Use the density of air Assume drag coefficient of a sphere is 0.47 How do you reformulate the equations? What MATLAB tools would allow you to simulate this more complicated system?

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#