This document contains the output of various linear algebra functions applied to matrices:
1. Gaussian elimination is applied to matrices to solve systems of equations, returning the solution vector.
2. LU decomposition with partial pivoting is performed on a matrix, returning the permutation, lower triangular, and upper triangular matrices.
3. LU decomposition and forward/back substitution are used to solve multiple systems of equations defined by matrices.
This document contains the output of various linear algebra functions applied to matrices:
1. Gaussian elimination is applied to matrices to solve systems of equations, returning the solution vector.
2. LU decomposition with partial pivoting is performed on a matrix, returning the permutation, lower triangular, and upper triangular matrices.
3. LU decomposition and forward/back substitution are used to solve multiple systems of equations defined by matrices.
This document contains the output of various linear algebra functions applied to matrices:
1. Gaussian elimination is applied to matrices to solve systems of equations, returning the solution vector.
2. LU decomposition with partial pivoting is performed on a matrix, returning the permutation, lower triangular, and upper triangular matrices.
3. LU decomposition and forward/back substitution are used to solve multiple systems of equations defined by matrices.
B = [-8 -10 -100;-20 -20 -250;-2 -2 -25;4 8 80]; x = LUsolve(A,B)
%% Question 3
disp(' put answer to question 3 here')
disp('the disp function seems to work per line.') disp('you may need to use more disp function in order to') disp('present all your answers for this question')