Question: Problem 2 : GLLS Curve Fit 0 solutions submitted ( max: Unlimited ) Open Problem in MATLAB Online A thermistor is a resistor with a

Problem 2: GLLS Curve Fit
0 solutions submitted (max: Unlimited)
Open Problem in MATLAB Online
A thermistor is a resistor with a temperature-dependent resistance. These electronic devices are used for temperature measurement in a variety of applications. The image below shows one example of what they look like.
Diagram of a Thermistor-
Write a function that uses the general linear least-squares approach (i.e. QR factorization with left division) to determine the best values of the constants a,b, and c to fit the model:
Equation model of a thermistor
to a set of data for temperature versus resistance. Your function should also calculate statistical measures to quantify the quality of the curve fit. Your function should receive a single input:
A two-column matrix with resistance values (Ohms) in the first column and temperature values (Celsius) in the second column.
It should return the following outputs (in order):
A 13 row vector of the fit coefficients a,b, and c.
The coefficient of determination ("r-squared value") for the curve fit (scalar value).
The standard error for the fit (scalar value).
You will need to transform the mathematical model into a linear combination of basis functions to make it suitable for the general linear least-squares approach. You'll need to also transform the data to calculate the fit. Be sure to transform both back to their original forms before computing the curve fit quality measures.
Function
Save
C Reset
MATLAB Documentation
Problem 2 : GLLS Curve Fit 0 solutions submitted

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!