MATLAB Functions Help Desk

factor

Purpose

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 ]