Engee documentation

Ramp

A generator of a linearly increasing or decreasing signal.

blockType: Ramp

Path in the library:

/Basic/Sources/Ramp

Description

The Ramp block generates a signal that starts at a specified time from a specified value and changes at a specified rate. The parameters Slope, Start time and Initial Output define the characteristics of the output signal. All of them must have the same dimensionality (after scalars expansion).

Ports

Output

# OUT_1 — output signal
scalar | vector | matrix

Details

Output signal defined by parameters Slope, Start time and Initial Output.

Data types

Float64.

Complex numbers support

No

Parameters

Main

# Slope — signal slope
Scalar / array of real numbers

Details

The rate of change of the generated signal.

Default value

1.0

Program usage name

slope

Tunable

Yes

Evaluatable

Yes

# Start time — signal change onset
Scalar / array of real numbers

Details

Sets the time at which the unit starts generating the changing signal.

Default value

0.0

Program usage name

start

Tunable

Yes

Evaluatable

Yes

# Initial Output — initial value of the output signal
Scalar / array of real numbers

Details

The initial value of the output signal.

Default value

0.0

Program usage name

InitialOutput

Tunable

Yes

Evaluatable

Yes

Additional options

C code generation: Yes