Consider the system of simultaneous equations:

x1 + 3x2 + 5x3 + 2x4 = 7

2x1 ? 4x2 + 7x3 ? 3x4 = ?3

?4x2 ? 7x3 + 3x4 = ?1

5x1 ? 3x2 + 2x3 + 1x4 = 0

which in matrix notation we could write as Mx = c.

(a) Write two Matlab assignment statements for the matrices that correspond to M and c in the

matrix notation indicated.

(b) What Matlab statement would you use to solve this system of linear equations?

(c) Type your statements into Matlab and obtain the solution. What is the solution?