| MATLAB Functions | Help Desk |
factor
Prime factors
f = factor(n) f = factor(symb)
f = factor(n)
returns a row vector containing the prime factors of n.
f = factor(123)
f =
3 41
isprime True for prime numbers
primes Generate list of prime numbers