reset( resets the state of the
Rate object, including the elapsed time and all
statistics about previous periods.
reset is useful if you want
to run multiple successive loops at the same rate, or if the object is created
before the loop is executed.
Introduced in R2019b