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
-
Renaming a field in a structure array
1507 Solvers
-
Find the largest value in the 3D matrix
1494 Solvers
-
Determine Whether an array is empty
768 Solvers
-
Make a random, non-repeating vector.
8750 Solvers
-
Create a vector whose elements depend on the previous element
644 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!