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 Solvers191
Suggested Problems
-
3384 Solvers
-
Create a cell array out of a struct
2188 Solvers
-
Create matrix of replicated elements
383 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1164 Solvers
-
The sum of the numbers in the vector
619 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!