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
-
Extract leading non-zero digit
2183 Solvers
-
2311 Solvers
-
Generate N equally spaced intervals between -L and L
887 Solvers
-
Flip the vector from right to left
9722 Solvers
-
Finding perimeter of a rectangle
473 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!