214k views
1 vote
Create a matrix with 3 rows and 4 columns. Every element in the first row should be 0, every element in the second row should be 1, and every element in the third row should be 2.

1 Answer

2 votes

Answer:


\left[\begin{array}{cccc}0&0&0&0\\1&1&1&1\\2&2&2&2\end{array}\right]

Explanation:

The matrix should have

- A row with four horizontal zeros

- A row with 4 horizontal ones

- A row with 4 horizontal twos

Thus, it should have the following form


\left[\begin{array}{cccc}0&0&0&0\\1&1&1&1\\2&2&2&2\end{array}\right]

Always remember that the columns are vertical (just think about normal columns) and the rown are horizontal.

I hope that works for you!

User Miro Bucko
by
3.9k points