User`s guide
Constant Ramp
5-89
5Constant Ramp
Purpose Generate a ramp signal with length based on input dimensions.
Library DSP Sources
Description The Constant Ramp block generates the constant ramp signal
y = (0:L-1)*m + b
where m is the slope specified by the scalar Slope parameter, b is the y-intercept
specified by the scalar
Offset parameter.
For a matrix input, the length
L of the output ramp is equal to either the
number of rows or the number of columns in the input, as determined by the
Ramp length equals number of parameter. For a 1-D vector input, L is equal
to the length of the input vector. The output,
y, is always a 1-D vector.
Dialog Box
Ramp length equals number of
The dimension of the input matrix that determines the length of the output
ramp,
Rows or Columns.
Slope
The slope of the ramp, a scalar.
Offset
The y-intercept of the ramp, a scalar.
Supported
Data Types
Double-precision floating point