1.
Create the following matrices in MATLAB and determine the requested properties:
2 4 6 1 1
𝐴 = [ 8 10 12] , 𝐵 = [1 1]
14 16 18 1 1
a) Access the element in row 2, column 2 of matrix A
b) Access the second column of matrix B
c) Find the size, maximum value, and minimum value of matrix A
d) Perform addition, subtraction, multiplication, and division between matrices A
and B (where applicable)
e) Flip matrix A left-to-right and matrix B up-to-down
2. Solve the following system of linear equations with three unknowns (𝑥1, 𝑥2, 𝑥3):
3𝑥1 + 2𝑥2 − 𝑥3 = 10
−𝑥1 + 3𝑥2 + 2𝑥3 = 5
𝑥1 − 𝑥2 − 𝑥3 = −1