Generates a hyperbolic arc-tangent series in accordance with the specified parameters.
GATANH(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 |
frequency |
- |
Optional. A real, the frequency specified in radians. Defaults to 1. |
phase |
- |
Optional. A real, the phase specified in radians. Defaults to 0. |
A series.
gatanh(100, 0.1, 2, 1)
creates a hyperbolic arc-tangent series
of 100 points spaced 0.1
The formula used to generate y[n] for n = 1 to N is:
y[n] = atanh(spacing • factor • (n-1) + offset)