Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Mathematics 1

MATLAB Session 1 exercise problems

1. For the given matrix


a. Find the transpose of the matrix
b. Find the trace and diagonal of the matrix
c. Find the rank
d. Find the echelon and reduced row echelon form
2 1 0 2 3 1
(a) 2 2 1 (b) 1 2 1

3 0 2 4 1 1
1 4 4 1 1 0 0 3
0 1 2 2 0 1 2 0
(c) (d)
3 3 1 4 2 3 2 3

0 1 3 2 0 3 3 3
1 2 1 1
1 2 5 3 3 6
1 3 0 2
(e) [1 2 5] (f) [2 3 5] (g) [ ]
0 1 1 3
4 4 3 1 3 6
1 2 5 3

2. For the given matrix


a. Find the determinant
b. Find the inverse using inv function
c. Employ elementary row transformations to find the inverse
1 1 3 3 3 4 1 2 5 3 3 6

(a) 1

3 3 (b) 2 3 4 (c) [1 2 5] (d) [2 3 5]
4 4 3 1 3 6
2 4 4 0 1 1
1 3 4 3 2 4 1 1 2 3 2 1
(e) [2 1 2] (f) [4 1 5] (g) [2 1 5] (h) [1 3 2]
8 4 2 6 5 7 1 1 2 4 5 6
0 1 2 2
2 1 1 2 1 1 2 3
(i) [ 3 0 2 2
] (j)
1 1 3 4 2 2 2 3
2 5 3 5
2 3 3 3

You might also like