Question: Question : x = [0.5, 0.0,1.0, 5.0, 8.0, 4.0, 15.0, 7.0, 3.0, 2.0, 12.0, 10.0, 14.0, 6.0) y = [2500, 2250, 2750, 8000, 9000, 6900,

 Question : x = [0.5, 0.0,1.0, 5.0, 8.0, 4.0, 15.0, 7.0,

Question : x = [0.5, 0.0,1.0, 5.0, 8.0, 4.0, 15.0, 7.0, 3.0, 2.0, 12.0, 10.0, 14.0, 6.0) y = [2500, 2250, 2750, 8000, 9000, 6900, 20000, 8500, 6000, 3500, 15000, 13000, 18000, 7500) x is the years and y is the salary in a company. Please use this data for linear regression in Matlab. (Calculate all step by step. Please use functions and write linear regression algorithm by your self)

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!