MATLAB Function Reference
  Go to function:
    Search    Help Desk 
factor    Examples   See Also

Prime factors

Syntax

Description

f = factor(n) returns a row vector containing the prime factors of n.

Examples

See Also

isprime     True for prime numbers

primes      Generate list of prime numbers



[ Previous | Help Desk | Next ]