Question: MATHLAB QUESTION Write a function called extract that takes a single input, A, a square matrix and returns another matrix that has two rows: the
MATHLAB QUESTION

Write a function called extract that takes a single input, A, a square matrix and returns another matrix that has two rows: the first row is the elements of the next to last column of A, while the second row is the elements of the last row of A in reverse order. Here is an example run: >> A A = 97 8 80 5 44 7 99 22 82 77 67 88 >> AA = extract (A) AA = 80 7 82 64 88 67 77 81 6 64 88 77
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
