You will write a Matlab user defined function that take a user input of a square...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 Gauss-Seidel or Gauss-Jordan method to solve the system. Your code will then solve the system and return the values of xn. You may use third-party code for the Gauss-Seidel and Gauss-Jordan 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 yes- Gauss-Seidel k If no- Check or positive-definiteness If yes- Gauss-Seidel If no-Gauss-Jordan Output values of X End Submit exactly 6 files: 1. A detailed visio data flow diagram (pdf) for each section (you determine how to divide up your data flow into smaller sections) 2. An overarching simplified visio data flow diagram (pdf) 3. Pseudocode with real equations (pdf) (DO 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) 6. Your original matlab file (.m file) 4. 5. 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 Gauss-Seidel or Gauss-Jordan method to solve the system. Your code will then solve the system and return the values of xn. You may use third-party code for the Gauss-Seidel and Gauss-Jordan 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 yes- Gauss-Seidel k If no- Check or positive-definiteness If yes- Gauss-Seidel If no-Gauss-Jordan Output values of X End Submit exactly 6 files: 1. A detailed visio data flow diagram (pdf) for each section (you determine how to divide up your data flow into smaller sections) 2. An overarching simplified visio data flow diagram (pdf) 3. Pseudocode with real equations (pdf) (DO 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) 6. Your original matlab file (.m file) 4. 5.
Expert Answer:
Related Book For
Business Statistics For Contemporary Decision Making
ISBN: 978-1118749647
8th edition
Authors: Black Ken
Posted Date:
Students also viewed these organizational behavior questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
Suppose a state was trying to decide whether to fund primary and secondary education with a property tax or an income tax. What implications might this choice have for land use in the state?
-
Explain how and under what assumptions M&M show that dividends are irrelevant?
-
1. Do you agree with Sandbergs observations? Explain. 2. What choices might women make that interfere with their career advancement? What other factors may blunt womens career growth? Explain. 3. A...
-
Discuss the underlying attributes necessary to support high achievers.
-
1. How much would the Meyers have to put down if the lender required a minimum 20 percent down payment? Could they afford it? 2. Given that the Meyers want to put only $25,000 down, how much would...
-
Assume an investor buys a call option on XYZ stock with a strike price of $80 for $6 when the stock is trading for $77. What is the investor's break-even stock price?
-
Sage Learning Centers was established on July 20, 2016, to provide educational services. The services provided during the remainder of the month are as follows: July 21. Issued Invoice No. 1 to J....
-
Bennett Construction Ltd. (Bennett ) was founded 10 years ago by Peter Woodward, a carpenter and entrepreneur. Bennett is a growing construction company, building houses and doing major renovations...
-
The following information pertains to Ray Limited (RL): (i) The profit for the year ended 31 December 2022 amounted to Rs. 84 million (2021: loss of Rs. 60 million). (ii) The outstanding weighted...
-
LIQUIDITY ANALYSIS Liquidity ratios measure a company's ability to meet current obligations such as paying accounts payable or short-term debts. Liquidity ratios may be the most important ratios when...
-
Read and analyze the statement/s given and write the best answer. (3*5mark each=15 marks) "Why Wall Street Is a Key Player in the World's capital markets" Demonstrate the key attributes required to...
-
1. How effective is Lysistrata as an antiwar work? In what ways does it make its argument against the war clear? How might people of that time react to it? How about people now? 2. What do the...
-
What is the central message of the Movie Hidden Figures and Why?
-
Fill in boxes highlighted. If you want, include how you get each in the optional explanation space below. (a) Type of transaction = Adjusting entry: Enter account names next to debit (Dr.)/credit...
-
Consider model (9.18). What is the effect on the model parameter estimates, their standard errors, and the goodness-of-fit statistics when (a) The times at risk are doubled, but the numbers of deaths...
-
The retail price of a medium-sized box of a well-known brand of cornflakes ranges from $2.80 to $3.14.Assume these prices are uniformly distributed. What are the average price and standard deviation...
-
The average total dollar purchase at a convenience store is less than that at a supermarket. Despite smaller-ticket purchases, convenience stores can still be profitable because of the size of...
-
One study on managers satisfaction with management tools reveals that 59% of all managers use self-directed work teams as a management tool. Suppose 70 managers selected randomly in the United States...
-
For the periodic processes shown below: a. Schedule the processes using an RMS policy. b. Schedule the processes using an EDF policy. In each case, compute the schedule for an interval equal to the...
-
For the periodic processes shown below: a. Schedule the processes using an RMS policy. b. Schedule the processes using an EDF policy. In each case, compute the schedule for an interval equal to the...
-
For the given periodic process execution times and periods (P1 has the highest priority), show how much CPU time of higher-priority processes will be required during one period of each of the...
Study smarter with the SolutionInn App