logspace: Implementation of the 'logspace' Function from Matlab

View source: R/ubiquity.r

logspaceR Documentation

Implementation of the logspace Function from Matlab

Description

Creates a vector of n elements logarithmically spaced apart.

Usage

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

logspace(-2, 3,20)

john-harrold/ubiquity documentation built on March 13, 2024, 2:58 a.m.