powered by
Replicate the behaviour of the PULSE function from Vensim
sd_pulse_v(time, startPulse, duration)
A number
timestep <- function() 0.25 # replicates timestep() from deSolve sd_pulse_v(1, 1, 2)
Run the code above in your browser using DataLab