logspace: Generate logarithmically spaced vector

Description Usage Arguments Value Examples

Description

logspace generates n logarithmically spaced points between 10^d1 and 10^d2. The utility of this function is equivalent to logspace function in matlab.

Usage

1
logspace(d1, d2, n)

Arguments

d1

first bound

d2

second bound

n

number of points

Value

a vector of n logarithmically spaced points between 10^d1 and 10^d2.

Examples

1
logspace(-6,7,30)

Yinghao-Pan/ODS documentation built on May 10, 2019, 12:07 a.m.