prime<_factors, a MATLAB code which returns a list of the prime factors of an integer.
If a prime is a multiple factor, it will occur several times in the list.
The information on this web page is distributed under the MIT license.
prime_factors is available in a MATLAB version and an Octave version and a Python version.
is_prime, a MATLAB code which determines if a given integer n is prime, using various versions of the sieve of Eratosthenes.
prime, a MATLAB code which counts the primes between 1 and N, intended as a starting point for the creation of a parallel version.
prime_pi, a MATLAB code which evaluates Pi(n), the number of primes less than or equal to an integer n.
prime_plot, a MATLAB code which displays a box plot of the prime and composite numbers.