Divisors are integer divisons of N
divisor( 8 )
> 1 2 4 8
divisor(7)
> 1 7
To get library clone from github:
cd to your lib folder
git clone https://github.com/Matlab-Toolbox/divisor.git
Add package to path:
%% Add package to path
run(['/path_to_package/divisor/load_toolbox.m']);