powered by
Generate logarithmically spaced vectors.
logspace(a, b, n=50)
Returns vector containing containing n points logarithmically spaced between decades \(10^\code{a}\) and \(10^\code{b}\). For
n
\(n < 2\), b is returned.
b
numeric scalar specifying exponent for starting point
numeric scalar specifying exponent for ending point
numeric scalar specifying number of points to be generated
P. Roebuck proebuck1701@gmail.com
Useful for creating frequency vectors, it is a logarithmic equivalent of linspace.
linspace
logspace(1, pi, 36)
Run the code above in your browser using DataLab