Problem 1. Use Matlab to answer the following system of linear equations:
2x + y + 3z = 1
2x + 6y + 8z = 3
6x + 8y + 18z = 5
Capture Matlab code and the result in a text file.
Problem 2. 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 above x values as y = 2.3 x – 1.2. Then add random (normal, Gaussian) noise to the vector y. Plot on the same graph both versions of vector y in different colors. Then use attached linregr.m function to find a least square fit (linear regression) for your fake experimental data.
Problem 3. Make a three dimensional diagram of function z = (x-2)2 + (y-3)3.