IMPULSE

Purpose:

Macro. Generates a discrete unit impulse series.

Syntax:

IMPULSE(start, length)

start

-

An integer. Point location of the impulse.

length

-

An integer. Total length of the output series.

Returns:

A series.

Expansion:

EXTRACT(GSERIES(1), 2 - START, LENGTH)

Example:

impulse(10,20)

 

creates a series of 20 points where the 10th point of the series has a value of 1.0 and the other points are zero.

Remarks:

Impulse creates an impulse with a sample rate of 1.0. See GIMPULSE to create an impulse with a specified sample rate.

 

See IMPZ to display the impulse response of a Z transform.

See Also:

EXTRACT

GIMPULSE

GSERIES

IMPZ

ONES