logspace: Logarithmically-spaced Elements

Description Usage Arguments Value Note See Also

Description

Construct a vector of n logarithmically-spaced elements from 10^a to 10^b.

Usage

1
logspace(a, b, n = 50, base = 10)

Arguments

a

base^a is the starting value of the sequence.

b

base^b is the final value of the sequence.

n

The number of samples to generate. Default is 50.

base

The base of the log space.

Value

A vector of logarithmically-spaced elements.

Note

If b = pi and base = 10, the points are between 10^a and pi, not 10^a and 10^pi, for compatibility with the corresponding MATLAB/Octave, and NumPy functions.

See Also

linspace, seq.


bgreenwell/ramify documentation built on May 12, 2019, 8:20 p.m.