logspace: Implementation of the 'logspace' Function from Matlab

Description Usage Arguments Value Examples

View source: R/ubiquity.r

Description

Creates a vector of n elements logarithmically spaced apart.

Usage

1
logspace(a, b, n = 100)

Arguments

a

initial number

b

final number

n

number of elements (integer >=2)

Value

vector of numbers from a to b with n logarithmically (base 10) spaced apart

Examples

1
logspace(-2, 3,20)

ubiquity documentation built on Sept. 5, 2021, 5:15 p.m.