function primes
Creates a vector of given length with prime numbers.
Syntax
result = primes(n)
Arguments
n: | The number of prime numbers to return |
Returns
A vector of length n with the first n prime numbers.
Creates a vector of given length with prime numbers.
Syntax
result = primes(n)
Arguments
n: | The number of prime numbers to return |