David
Farruggio

MathGenie

logspace

Generate logarithmically spaced vector

Syntax and Description

logspace(a,b) generates a row vector y of 50 logarithmically spaced points between decades 10^a and 10^b.
logspace(a,b,n) generates n points between decades 10^a and 10^b.

Back to functions