Please provide a detail solution with matlab script
Problem 5 (10 marks, text 4.35) Experimental measurements are taken from a physical system that can be modeled as y = mx + b The experimental data is (1.00, 2.10), (2.00, 2.91), (3.00, 3.89), (4.00, 5.12), (5.00, 6.09). a) Using MATLAB's polyfit function find the coefficients to fit the data using the method of least squares. b) Plot the regression function as a line and the data points as points. c) Calculate the standard error of the fit using a calculator.
Please provide a detail solution with matlab script
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am