logspace(start,stop,n) generates a row vector of n logarithmically equally spaced points between decades start and stop and returns ONLY the spacing between values.
For n = 1, logspace returns stop.
Example:
n = 10
logspace(1,10,n)
dx[n-1] = {0.29,0.38,0.49,0.63,0.81,1.05,1.35,1.75,2.26}
function logspace_dx input Real start "Start value"; input Real stop "Stop value"; input Integer n "Number of generated points"; output Real[n - 1] dx "Spacing between generated points"; end logspace_dx;