-
2 Comments
Martin
on 4 Jun 2013
smart and short... i needed a "few" lines more :-)
Chul Min Yeum
on 18 Oct 2019
smart!
Suggested Problems
-
4416 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2323 Solvers
-
Return unique values without sorting
935 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
631 Solvers
-
9589 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!