MATLAB Function Reference Previous page   Next Page
factor

Prime factors

Syntax

Description

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

Examples

See Also

isprime, primes


Previous page  ezsurfc factorial Next page

© 1994-2005 The MathWorks, Inc.