Question: Consider the data table: x 1 2.5 4 6 f 2 0.128 0.0312 0.0092 1. Prepare a MATLAB code that plots these data points in
Consider the data table:
| x | 1 | 2.5 | 4 | 6 |
| f | 2 | 0.128 | 0.0312 | 0.0092 |
1. Prepare a MATLAB code that plots these data points in semi-logarithmic (two types) and double logarithmic scales.
2. Chose the form of the best fitting function among power, exponential and logarithmic function.
3. Use polyfit function in order to find coefficients b and m of the chosen fitting function.
4. Calculate value of fitting function at x=2 using the best fitting function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
