Question: Question 3 . Fit polynomial functions on data using MATLAB Step 1 - upload Fish.xlsx file to Octave Online / MATLAB Step 2 - Read

Question 3. Fit polynomial functions on data using MATLAB
Step 1- upload Fish.xlsx file to Octave Online/ MATLAB
Step 2- Read the content of the file using xlsread
Step 3- Scatterplot of Weight (on the y-axis) vs Length1(on the x-axis)
Step 4- Use polyfit to find the coefficients of a polynomial of degree 3
Step 5- Use polyval and plot to draw the plot
The image i uploaded is from the file, however there is still more data. Use the Data that i provided you with to make the code but also keep in mind there are 162 rows on the actual excel sheet. Thank you
Question 3 . Fit polynomial functions on data

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