Pity that eval is forbidden - I had quite an elegant solution using it.
6732 Solvers
1366 Solvers
1052 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1495 Solvers
Getting the indices from a vector
3222 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!