limiter¶
Parameters¶
Parameter label |
I/O type |
Data type |
Mandatory parameter? |
Default value |
---|---|---|---|---|
|
input |
vector |
yes |
N/A |
|
output |
vecotr |
N/A |
N/A |
|
input |
scalar |
N/A |
N/A |
|
input |
scalar |
N/A |
N/A |
Functionality¶
Module returns the elements in inputVec
as outputVec
while substituting values greater than max
with max
and values smaller than min
with min
.
Either parameter is optional, if both values are missing, the module functions as identity transformation.
Here’s a simple example:
inputVec = [1,-2,-3,-4]
max = 0
min = -3
...
outputVec = [0, -2, -3, -3]