Question: 4. Redo the water draining problem (section 2) in MATLAB, assuming the mathematical model for this problem is H = bemt Write a MATLAB
4. Redo the water draining problem (section 2) in MATLAB, assuming the mathematical model for this problem is H = bemt Write a MATLAB script (Hw08p4.m) that performs the following: a. Find the "least-square fit" line to the data. b. Compute the r value of the fit. c. Plot the data (as symbols) and the fit (as a line) Publish your script files to PDF and hand in a hard copy when you enter your next lab.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
