Engee documentation

Constant Ramp

A linear signal generator with varying length depending on the input values.

blockType: Constant Ramp

Path in the library:

/Signal Operations/Signal Operations/Constant Ramp

Description

Block Constant Ramp generates a linearly varying signal:

where — the slope specified by the scalar parameter Slope, and — intersection with the axis , specified by a scalar parameter Offset.

For an undirected vector at the input — this is the length of the input vector. For -a dimensional array of input signals, the length of the output linear signal is equal to the length of the input signal with the value that is set by the parameter Ramp length equals number of or Dimention.

The output signal it is always an undirected vector.

Ports

Input

# IN_1 — Input signal
scalar | vector | the matrix | multidimensional array

Details

The input signal used to generate a linear signal, specified in the form of a scalar, vector, matrix, or - dimensional array.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

I don’t

Output

# OUT_1 — Output signal
vector

Details

The output signal is specified as an undirected vector. The block determines the length of the output signal based on the length of the input signal and the parameter Ramp length equals number of or Dimention.

Data types

Float64

Complex numbers support

Yes

Parameters

Main

# Ramp length equals number of — a value for determining the length of a linear signal
Rows | Columns | Elements in specified dimention

Details

Options for selecting values for determining the length of a linear signal:

  • Rows — the length of the sequence is equal to the number of lines;

  • Columns — the length of the sequence is equal to the number of columns;

  • Elements in specified dimention — the length of the sequence is set in the parameter Dimention.

Values

Rows | Columns | Elements in specified dimention

Default value

Rows

Program usage name

RampLenghEqualsNumber

Tunable

No

Evaluatable

No

# Dimention — sequence length
Int64 integer

Details

Specify the length of the sequence.

Dependencies

To use this parameter, set for the parameter Ramp length equals number of meaning Elements in specified dimention.

Default value

1

Program usage name

Dimention

Tunable

No

Evaluatable

Yes

# Slope — signal slope
Real number

Details

The slope of the signal in the form of a real scalar.

Default value

1

Program usage name

Slope

Tunable

No

Evaluatable

Yes

# Offset — the point of intersection of the linear signal with the axis
Real number

Details

The point of intersection of the linear signal with the axis , defined as a real scalar.

Default value

0

Program usage name

Offset

Tunable

No

Evaluatable

Yes