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 Solvers194
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15768 Solvers
-
The Hitchhiker's Guide to MATLAB
3398 Solvers
-
Back to basics 12 - Input Arguments
619 Solvers
-
526 Solvers
-
540 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!