| << peaks | Special functions |
| p = primes(n) |
scalar, real integer value
vector with prime numbers.
p = primes(n) returns a row vector containing all the prime numbers less than or equal to n.
The data type of p is the same as that of n.
p = primes(15)
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET