Question
Do in MATLAB (Octave): In an experiment, a small steel ball is dropped and videoed against a checkered background. The video sequence is analyzed to
Do in MATLAB (Octave): In an experiment, a small steel ball is dropped and videoed against a checkered background. The video sequence is analyzed to determine the height of the ball as a function of time to give the data in the following table:
Time (seconds) | 0.0300 | 0.0633 | 0.0967 | 0.1300 | 0.1633 | 0.1967 | 0.2300 | 0.2633 | 0.2967 |
Height (inches) | 22.0 | 21.5 | 20.5 | 18.8 | 17.0 | 14.5 | 12.0 | 8.0 | 3.0 |
Using the fitting tools of MATLAB, find a polynomial fit that matches the data.
Based on theory, the experimental data should obey the following equation:
h=220.5gt2
where h is in inches, t is in seconds, and g=386.4 in/s2.
Create a graph that compares the measured data with the fit values and the theoretical values; your graph should conform to good conventions for engineering graphics.
Plot the measured data using red points, the values based on the polynomial fit using a blue line, and the theoretical equation using a green line. Make sure to include a legend.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started