The length of an empty array is 0 not []. ;-)
Sorry for that.. fixed it.. :)
17543 Solvers
3924 Solvers
273 Solvers
Project Euler: Problem 2, Sum of even Fibonacci
865 Solvers
Project Euler: Problem 10, Sum of Primes
722 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!