Constant Ramp
Generate ramp signal with length based on input dimensions
- Library:
DSP System Toolbox / Signal Operations
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, and b is the y-intercept specified by the scalar Offset parameter.
For an unoriented vector input, L is equal to the length of the input vector. For an N-D input array, the length L of the output ramp is equal to the length of the input in the dimension specified by the Ramp length equals number of or Dimension parameter. The output, y, is always an unoriented vector.
Ports
Input
Output
Parameters
Model Examples
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Extended Capabilities
Version History
See Also
Blocks
- Create Diagonal Matrix (Simulink) | Constant (Simulink) | Ramp (Simulink) | Identity Matrix (Simulink)