You are here

Built-in functions : ramp function


Generates a ramp of slope slope, starting at time time and zero before that time.

Result: the ramp function.

Arguments: time at which to start ramping, slope (positive or negative) of ramp


the function ramp(20,-7) will have a return value of 0 at time 20 and -70 at time 30