Problem 1025. Divisors of an integer
Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers183
Suggested Problems
-
2217 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1700 Solvers
-
1878 Solvers
-
Back to basics 25 - Valid variable names
321 Solvers
-
Create an index-powered vector
690 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!