are these extra credit homework assignments or something?
Max iterations in the test cases should be higher. For instance, unless we are calculating the exact solution, one iteration is not realistic. People are overcoming this by increasing the number inside their code or using matlab functions that can freely iterate in their code.
How to add?
Generate a random matrix A of (1,-1)
Generate this matrix
Free Fall analytical solution (Chapra 2012 textbook Example 1.1)
False position (linear interpolation) method of finding a root.
Fletcher-Reeves Conjugate Gradient Method
Gauss Eliminate 2-by-2 example
Augmented Lagrange Multiplier (ALM) Method
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office