Professional Documents
Culture Documents
Spring 2015-16
Lab 2
Important:
For each question, open a new script (.m file) and name it
YourLastname_firstname_Lab01_QuestionNumber.m (ex: akgun_ali_Lab01_q1b.m )
You must show your work at the end of the lab to your TA to get your grade.
Hints:
Dont forget to include the commands: clear; clc; at beginning of your scripts to clear
command and variable windows.
Here represents the items in the columns and is the average of the respective column
of and n is the number of elements in vector x.
a) Check whether the above linear equations system have a unique solution.
b) Find the value of each variable using 2 different methods and display the solution as In
the solution x=... y=... z=....