Click or drag to resize

GenerateLogSpaced Method

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.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

Double
The logarithmically spaced samples.
See Also