Generates an arc-cotangent series in accordance with the specified parameters.
GACOT(length, spacing, factor, offset)
length |
- |
An integer, the length of the output series. |
spacing |
- |
A real, the spacing (delta x) between each point on the |
factor |
- |
Optional. A real, the expansion factor along the |
offset |
- |
Optional. A real, the offset along |
A series.
gacot(100, 0.1, 2, 5)
creates an arc-cotangent series of 100 points spaced 0.1
The formula used to generate each point, n, in the series is as follows:
y[n] = ACOT(spacing • factor • (n-1) + offset)