Room air temperature in the engineering classroom (AB134) has been measured and the data stored in a file called AB134.txt.
This file contains two columns, i.e. Time, and Temperature values. The time values are in minutes and the temperatures values are in degree Fahrenheit.
Write a Matlab program to accomplish the following:
1. Determine the average temperature value
2. Determine the standard deviation of the temperature values
3. Plot the Temperature vs. Time graph. Note that you must adhere to the requirements of a proper engineering plot.
4. Determine the trendline (linear) for this data and obtain the R-square value using the following regression equations.
5. Plot the linear equation obtained in part 4 and the same plot in part 3.
6. Determine the trendline using the Matlab's built-in function. You may need to refer to your textbook or the internet.
7. Is there any difference between the results of part 4 and 6? Why or why not?
8. What can you say about the accuracy of linear function that you obtained in part 4? You need to reference the R-square value etc.