-
1 Comment
Rafael S.T. Vieira
on 16 Sep 2020
At the end, apply sum_array(permute(n)). Or you could use actual random numbers using this same technique, but there maybe repeated values.
Suggested Problems
-
Get the area codes from a list of phone numbers
1065 Solvers
-
1412 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1310 Solvers
-
Numbers with prime factors 2, 3 and 5.
579 Solvers
-
275 Solvers
More from this Author6
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!