Question: Linear Interpolation or Regression MATLAB Assignment Write MATLAB code that does the following 1) Prompts a user to enter the name of a 2 column

 Linear Interpolation or Regression MATLAB Assignment Write MATLAB code that does

Linear Interpolation or Regression MATLAB Assignment Write MATLAB code that does the following 1) Prompts a user to enter the name of a 2 column Excel file containing x-data (first column) and y-data (second column) 2) Import the data from the Excel file 3) Plot the data 4) Prompt the user to answer the following question: "Is the data well organized?" 5) Ask the user to input a value of x for which they would like an estimated value of y 6) If the answer to 4 is yes, estimate a value of y using Linear Interpolation 7) If the answer to 4 is no, estimate a value of y using Linear Regression 8) Ask the user to enter a label for the x-data to be used when plotting the data from the file 9) Ask the user to enter a label for the y-data to be used when plotting the data from the file 10) Ask the user to enter a title be used when plotting the data from the file 11) Plot the data from the Excel file, and the estimated value using the rules of proper plots (use points for all the data points)

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 Databases Questions!