Question

1. Create the following matrices in MATLABO. It is convention to assume that unlisted elements in a matrix are 0. You may use whatever "intermediate"matrices you'd like, but DO NOT

JUST MANUALLY ENTER EACH ELEMENT of the matrix. 2. Use the diag command to create the following matrices. 3. Use the diag command's ability to assign vectors to so-called "off-diagonals" to create the following matrices.

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6