DSP Blockset    
Constant Ramp

Generate a ramp signal with length based on input dimensions.

Library
DSP Sources

Description

The Constant Ramp block generates the constant ramp signal

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.

See Also

Create Diagonal Matrix
DSP Blockset
Identity Matrix
DSP Blockset
DSP Constant
DSP Blockset

See Creating Signals Using Constant Blocks for related information.


 Constant Diagonal Matrix Contiguous Copy