Question: MATLAB: The standard air density, D(average measurements made), at different height, h, from sea level up to a height of 33km is given below. h(km)
MATLAB: The standard air density, D(average measurements made), at different height, h, from sea level up to a height of 33km is given below.
| h(km) | 0 | 3 | 6 | 9 | 12 | 15 |
|---|---|---|---|---|---|---|
| D(kg/m^3) | 1.2 | 0.91 | 0.66 | 0.47 | 0.31 | 0.19 |
| h(km) | 18 | 21 | 24 | 27 | 30 | 33 |
| D(kg/m^3) | 0.12 | 0.075 | 0.046 | 0.029 | 0.018 | 0.011 |
a. Make the following four plots of the data points (density as a function of height):
(1) both axes with linear scale; (2) h with log axis, D with linear axis; (3) h with linear axis, D with log axis; (4) both log axes. According to the plots choose a function (linear, power, exponential, or logarithmic) that best fits the data points and determine the coefficients of the function.
b. Plot the function and the points using linear axes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
