Question: please write code on Matlab A06.4 Diagonally dominant matrices #2 [5 marks] Write a Matlab script to check whether a matrix that is not diagonally

please write code on Matlab
A06.4 Diagonally dominant matrices #2 [5 marks] Write a Matlab script to check whether a matrix that is not diagonally dominant CAN be made diagonally dominant just by swapping rows 12 marks]. This problem is a bit tricky, not because it requires advanced knowledge of Matlab, but because it requires a bit of logical thinking to find a smart way to assess whether a matrix can be made diagonally dominant. If it can be made diagonally dominant, make it so by swapping the appropriate rows [3 marks]. Follow the comments in the template solution for hints and variable naming. Save your code to an m-file called "make diagdom.m" and submit it to the A06 folder on SurreyLearn. Do not use external user-defined functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
