logspace {ODS}R Documentation

Generate logarithmically spaced vector

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

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

logspace(-6,7,30)

[Package ODS version 0.2.0 Index]