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 Solvers185
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
48174 Solvers
-
332 Solvers
-
Sum the elements in either diagonal of a square matrix
209 Solvers
-
272 Solvers
-
947 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!