How can i go about plotting this??

3 views (last 30 days)
David
David on 29 Jul 2014
Commented: David on 29 Jul 2014
My objective is to plot my initial angle vs the time it takes for this object to hit the ground.
-I have each of the values for angular acceleration, angular velocity and angular position.
-I know that when the angular velocity is zero, that the object hits the ground,
-I also know that when the angular position is 1.57(radians) that the object will hit the ground.(teacher told me)
-my initial angle is the set of values as follows: inital_angle=[5:1:20]
My problem is that i don't know how exactly i can go about plotting this on matlab. How can i account for the time that is takes for the object to hit the ground??
Here is the information that i have as matlab shows it. The 2nd column in the command window is the angular position (with .0873 as my inital angle), and the 3rd column is angular velocity.
  2 Comments
Image Analyst
Image Analyst on 29 Jul 2014
Can you attach your m-file with the paperclip icon rather than a screenshot?
David
David on 29 Jul 2014
ok will do, but there are 2 files, one for the function and one for my actualy script where i call for the function

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!