MATLAB ONLY.
The vector “x” stores the areas of home by square feet, andvector “y” stores corresponding average selling price in LosAngeles. Then write your MATLAB command to fit the data in a linearfunction (i.e., the polynomial degree is 1), and stores yourcoefficients to a variable “coefs”.
Expert Answer
An answer will be send to you shortly. . . . .