problem1. Make a vector representing x coordinates of a measurement with 20 points between 0 and 10. Make another vector y representing fake measurements that are related to the x values as y = 2.3 x – 1.2. Next add random (normal, Gaussian) noise to vector y. Plot on the same graph both versions of vector y in dissimilar colors. Next use attached linregr.m function to find out a least square fit (linear regression) for your fake experimental data.
problem2. Make a three dimensional diagram of the function z = (x-2)2 + (y-3)3.
Capture the MATLAB code in a text file.