Generates a hyperbolic arc-cosine series in accordance with the specified parameters.
GACOSH(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.
gacosh(100, 0.1, 2, 5)
creates a hyperbolic arc-cosine series of 100 points spaced 0.1 x-units apart. The series is also be shifted by five units (the offset value) on the x-axis, and compressed by a factor of 2.
The formula used to generate y[n] for n = 1 to N is:
y[n] = acosh(spacing • factor • (n-1) + offset)