powered by

linspace(x1, x2, n = 100)

n

x1

x2

If $n < 2$, the result will be the ending point x2.

logspace

seq

linspace(1, 10, 9)

Run the code above in your browser using DataLab