Logarithmically spaced sequence generation

Share:

Description

Function generates a logarithmically spaced sequence of n values between decades 10^l and 10^u.

Usage

1
logspace(l, u, n)

Arguments

l

10^l will be the lower value to start from

u

10^u will be the upper value to end with

n

number of values to generate

Value

Logarithmically spaced sequence of length n between 10^l and 10^u.

Author(s)

Jan Saputra Mueller

See Also

seq, selectmodel

Examples

1
2
## generate 100 logarithmically spaced values between 10^(-3) and 10^3
logspace(-3, 3, 100)