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.
Project Euler: Problem 7, Nth prime
537 Solvers
252 Solvers
Convert a vector into a number
506 Solvers
332 Solvers
Calculate square and cube of number
254 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!