Generate a base 10 logarithmically spaced sample vector of the given length between the specified decade exponents (inclusive).
Equivalent to MATLAB logspace but with the length as first instead of last argument.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double[] LogSpaced(
int length,
double startExponent,
double stopExponent
)
Parameters
- length Int32
- The number of samples to generate.
- startExponent Double
- The start exponent of the range.
- stopExponent Double
- The end exponent of the range.
Return Value
DoubleThe logarithmically spaced samples.
See Also