Prepare a matrix codes that picks a row (it does not necessarily have to be the first row), moves it to the top of the matrix, and turns the first number into a 1, using only the three allowed matrix operations. (Don't forget, you cannot turn a 0 into a 1, but any other number is fair game.)
I am doing my homework assignment and really don't understand the logic behind it. If anyone can help me with this I would appreciate it. It really doesn't have to be a full working code.
I am doing my homework assignment and really don't understand the logic behind it. If anyone can help me with this I would appreciate it. It really doesn't have to be a full working code.


