Question: a) Write a code taking as input a matrix A of size m x n and a vector b of size m 1, where
a) Write a code taking as input a matrix A of size m x n and a vector b of size m 1, where m and n are arbitrarily large numbers and m < n, constructing the augmented matrix and performing REF, and RREF without using any built-in functions. In case you encounter any divi- sion by 0, you can choose a different A and/or b. Deliverables: The code snippet showing the procedure for REF and RREF. (1 mark+1 mark) b) Identify the pivot and non-pivot columns and find the particular solu- tion and solutions to Ax = 0. Deliverables: The code snippet showing the pivot and non-pivot columns, particular solution and the solutions to Ax = 0 (1 mark)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
