Solving system of linear equations using matlab


Question 1: Use MATLAB to solve the given system of linear equations:

2x + y + 3z = 1
2x + 6y + 8z = 3
6x + 8y + 18z = 5

Capture MATLAB code and the outcome in a text file.

Question 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. Next add random (normal, Gaussian) noise to the vector y. Plot on the same graph both versions of vector y in different colors. Next use attached linregr.m function to find out a least square fit (linear regression) for your fake experimental data.

Question 3: Make a three dimensional diagram of function z = (x-2)2 + (y-3)3.

Request for Solution File

Ask an Expert for Answer!!
MATLAB Programming: Solving system of linear equations using matlab
Reference No:- TGS0466

Expected delivery within 24 Hours