Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment is due at 1 1 . 5 9 p m on December 1 5 t h , submission via Brightspace ALL WORK MUST
This assignment is due at on December submission via Brightspace
ALL WORK MUST BE YOUR OWN except for the GaussSeidel or GaussJordan routines
Work submitted in the wrong format will not be marked.
This assignment is worth of the mark for this module
See the corresponding presentations on Brightspace for guidance
You will write a Matlab user defined function that take a user input of a square matrix of any size. Your code
will then perform checks to determine whether to use the GaussSeidel or GaussJordan method to solve the
system. Your code will then solve the system and return the values of You may use thirdparty code for the
GaussSeidel and GaussJordan routines but you must cite the source of your code; comment it fully; write
pseudocode for it and provide the appropriate data flow diagrams visio It is standard industry practice to reuse
good code routines for complex mathematical operations.
The following list of steps may help you:
Ask user to input a matrix
Check if the matrix is square if not exit with message
If yes check for diagonal dominance as a function preferably
If yesGaussSeidel
If noCheck or positivedefiniteness
If yesGaussScidel
If noGaussJordan
Output values of
End
Submit exactly files:
A detailed visio data flow diagram pdf for each section you determine how to divide up
your data flow into smaller sections
An overarching simplified visio data flow diagram pdf
Pseudocode with real equations pdfDO NOT USE AN ONLINE TOOL FOR THIS, NO
MARKS WILL BE AWARDED FOR AUTOMATICALLY GENERATED PSEUDOCODE
Fully commented code. This applies to all code whether or not you have written it pdf
Your sample outputs pdf
Your original matlab file m file
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