Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 1025. Divisors of an integer

Created by Abdelhak ARESMOUK

Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]

Problem Group

Solution Statistics

95 correct solutions 68 incorrect solutions
Last solution submitted on May 24, 2016