Rate Limiter

The RateLimiter block limits the first derivative of the signal passing through it. To give an example:

The output changes no faster than the specified limit. The derivative is calculated using this equation:

rate = (input(i)-output(i-1))/(time(i)-time(i-1))

If the input is a vector, then it is possible to choose if the algorithm applies the algorithm elementwise or not. If yes, rising rate and falling rate must be vectors.