Problem 42917. Nth roots of unity
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
bainhome
on 19 Apr 2018
Surely I shouldn't done this ugly string thing, that is bad for everyone. Without any doubt, Tim's solution is the best one
-
1 Comment
Rafael S.T. Vieira
on 30 Aug 2020
Nice trick.
Problem Recent Solvers45
Suggested Problems
-
Find the two most distant points
2309 Solvers
-
Find state names that start with the letter N
1025 Solvers
-
Sum the elements in either diagonal of a square matrix
203 Solvers
-
306 Solvers
-
463 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!