This solution is correct to within eps, but the test is expecting exact agreement. That is not good programming when dealing with floating point numbers.
It dseon't mettar waht oedrr the lrettes in a wrod are.
681 Solvers
Project Euler: Problem 2, Sum of even Fibonacci
906 Solvers
Are all the three given point in the same line?
281 Solvers
Matrix with different incremental runs
258 Solvers
Create logical matrix with a specific row and column sums
201 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!