# GASECH

## Purpose:

Generates a hyperbolic arc-secant series
in accordance with the specified parameters.

## Syntax:

GASECH(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 x-axis. |

factor |
- |
Optional. A real, the
expansion factor along the x-axis. Defaults to 1. |

offset |
- |
Optional. A real, the
offset along x-axis, specified in radians. Defaults to 0. |

## Returns:

A series.

## Example:

gasech(100, 0.1, 0.2, 0.3)

creates a hyperbolic arc-secant series
of 100 points spaced 0.1 x-units apart. The series is also
be shifted by 0.3 (the offset value) on the x-axis, and compressed
by a factor of 0.2.

## Remarks:

The formula used to generate each point,
*n*, in the series is as follows:

y[n] = ASECH(spacing
• factor • (n-1)
+ offset)

## See Also:

ASECH

TRIGNOMETRIC
FUNCTION GENERATORS