Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

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

86 correct solutions 56 incorrect solutions
Last solution submitted on May 28, 2015