Please, do not use isqual with floats, instead use abs(x1-x2) < 1e-10 for instance. A number like 0.1 is infinite and periodic in base 2.
The test suite is updated to use a tolerance check.
3000 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1037 Solvers
160 Solvers
Flip the vector from right to left
2853 Solvers
55 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!