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
-
Determine if a Given Number is a Triangle Number
370 Solvers
-
Duplicate each element of a vector.
601 Solvers
-
739 Solvers
-
Simple equation: Annual salary
4168 Solvers
-
Sum the 'edge' values of a matrix
335 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!