Problem 42988. Linear system of equations
76.36% Correct | 23.64% Incorrect
Last Solution submitted on May 02, 2023
John D'Errico on 2 Oct 2016
The tests cases used an exact test for equality. In terms of floating point numbers, this is incorrect as a test, because it can fail to recognize entirely valid solutions, and there are many ways to validly solve this problem. As such, I modified the test cases to use a tolerance on the result.
Solution CommentsShow comments
Problem Recent Solvers274
Project Euler: Problem 7, Nth prime
Back to basics 22 - Rotate a matrix
More from this Author8
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!