primes — primes function
[y]=primes(x)
real scalar
vector
Given a real x, primes(x) returns in a vector y all the primes numbers included between 1 and x. If x<2 then primes(x) returns an empty matrix.
x
primes(x)
y
x<2
x=35 y=primes(x)