This document is a student's lab report submission for an experiment on curve fitting. It includes the aim to understand curve fitting concepts and apply them in Matlab. The procedure describes fitting data to first and second order polynomials, comparing the fits, and using a sixth order polynomial to fit temperature and resistance values for a thermistor, interpolating values at 30°C and 50°C, and attempting to extrapolate outside the known range. The conclusion states the student was able to understand and implement curve fitting with Matlab, including interpolation of data.
This document is a student's lab report submission for an experiment on curve fitting. It includes the aim to understand curve fitting concepts and apply them in Matlab. The procedure describes fitting data to first and second order polynomials, comparing the fits, and using a sixth order polynomial to fit temperature and resistance values for a thermistor, interpolating values at 30°C and 50°C, and attempting to extrapolate outside the known range. The conclusion states the student was able to understand and implement curve fitting with Matlab, including interpolation of data.
Original Description:
University Of Bahrain
College Of Information Technology
Computer Engineering
This document is a student's lab report submission for an experiment on curve fitting. It includes the aim to understand curve fitting concepts and apply them in Matlab. The procedure describes fitting data to first and second order polynomials, comparing the fits, and using a sixth order polynomial to fit temperature and resistance values for a thermistor, interpolating values at 30°C and 50°C, and attempting to extrapolate outside the known range. The conclusion states the student was able to understand and implement curve fitting with Matlab, including interpolation of data.
This document is a student's lab report submission for an experiment on curve fitting. It includes the aim to understand curve fitting concepts and apply them in Matlab. The procedure describes fitting data to first and second order polynomials, comparing the fits, and using a sixth order polynomial to fit temperature and resistance values for a thermistor, interpolating values at 30°C and 50°C, and attempting to extrapolate outside the known range. The conclusion states the student was able to understand and implement curve fitting with Matlab, including interpolation of data.
STUDENT’S ID: 20161934 DATE OF SUBMISSION: 13 Dec 2018 Aim The aim of this experiment is to understand the concept of curve fitting and apply it in Mat lab. Introduction Curve fitting is the process of constructing a curve, or mathematical function that has the best fit to a series of data points. Curve fitting can involve either interpolation where an exact fit to the data is required, or smoothing in which a "smooth" function is constructed that approximately fits the data. Fitted curves can be used as an aid for data visualization to infer values of a function where no data are available and to summarize the relationships among two or more variables. Extrapolation refers to the use of a fitted curve beyond the range of the observed data and is subject to a degree of uncertainty since it may reflect the method used to construct the curve as much as it reflects the observed data. Procedure 1. The following data was entered in MAT LAB.
2. First order polynomial (linear)
3. Second order polynomial (quadratic)
4. A lot of y’s were evaluated.
5. The two fits were compared.
6. The following is a characteristic curve of a certain thermistor: 7. Estimate from the curve the values of the resistance at -20, -10, 0, 10, 25, 40 and 60C. 8. Enter these data and fit a sixth order polynomial equation for this thermistor. 9. Interpolate the resistance values at 30 and 50 co.
10.Extrapolate the resistance values at -30 and 100oC.
It cannot be extrapolated as it is out of range. Conclusion In this experiment we were able to understand the concept of curve fitting and implement it with the help of MAT LAB. We were able to interpolate the data.