MATLAB-Octave
MATLAB-Octave copied to clipboard
Optimized and reworded the algorithm
trafficstars
The new algorithm is not only more efficient than the previous one, but it is also much easier for the user to read and to understand. Basically, this is now a useful function in order to calculate the factorization of prime numbers. There are some erros that will show up if the number introduced by the user is not an integer higher than 1.