Question
MAE 384: Numerical Methods Problem 7 ONLY. (other problems listed to provide context) Problem 4 (5 points) Modify your Matlab function myGaussJordan from previous Homework
MAE 384: Numerical Methods
Problem 7 ONLY. (other problems listed to provide context)
Problem 4 (5 points)
Modify your Matlab function "myGaussJordan" from previous Homework to include partial pivoting. Name the new function "myGaussJordanPartialPivot" using the same input and output variables as before.
Problem 5 (3 points)
Write a Matlab function "myInverse" that takes as input a square matrix A and returns as output the inverse of A using Gauss-Jordan with partial pivoting. Within the function, use a call to myGaussJordanPartialPivot to find the inverse.
Problem 6 (5 points)
Write a Matlab function "myOneNorm" that takes as input a matrix A and returns as output the one-norm of the matrix.
Problem 7 (3 points)
Write a Matlab function "myCondOne", that takes as input a matrix A and returns as output the condition number of the matrix using the one-norm. Within the function call the functions "myInverse" and "myOneNorm" you developed in problems 5 and 6.
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