Professional Documents
Culture Documents
ID :
NAME :
1. (a) [5 points] Write the MATLAB code to construct the following 4 x 100 matrix A:
1 2 … 100
2 4 … 200
𝐴= [ ]
3 6 … 300
4 8 … 400
(b) [3 points] Find the matrix E such that EA will subtract the first row * 2 from the subsequent rows.
(c) [2 point] If the matrix A is the co-efficient matrix of a system of linear equations how many solutions
are there?
c. [2 points] Write the code to plot the function obtained in part (b).