Modulo

Description
Computes the modulo of the input signal.
Important
This modulo block is using the mathematical definition (using the floor function). The sign of the output is function of the sign of the divisor.
Library
Control > Math
Parameters
| Property | Display Name | Parameter Type | Description |
|---|---|---|---|
| Divisor | Divisor | DoubleParameter | Divisor |
| SamplingTime | Sampling Time [s] | DoubleParameter | Sampling Time |
Pins
| Property | Pin Name | Type | Description |
|---|---|---|---|
| In | In | ControlIn | Input |
| Out | Out | ControlOut | Output |
Default Size
| Width | Height |
|---|---|
| 4 | 4 |