Question
Given the following system of linear equations b c + d + 2f = 0; 2a + 5b 2c d + 3e + 6f =
Given the following system of linear equations b c + d + 2f = 0; 2a + 5b 2c d + 3e + 6f = 6; a b 2d + 6e + 7f = 8; a + b + c d e 6f = 3; 3a 9b + 4c 5d e + 2f = - 1; - 2a 3b + 3c + 2d + e = 11; write the system in the form Ax = b. Then, write a MATLAB program that contains the following: a. a function that performs Gaussian elimination to find the upper triangular form of the matrix A and the corresponding vector b, and b. a function that performs back su bstitution to solve the system of equations. For this function, think about matrix indices and the pattern involved in back substitution. The output from the program should be the augmented matrix that contains the upper triangular form of the matrix A a nd the corresponding vector b and the final solution to the system of equations. The MATLAB script should work for any linear system of equations. Do not use MATLAB built - in Gaussian elimination functions to solve the system of equations . Use the functi on s that you wrote from Problem #3 of Assignment
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started