If you add another command, you can get the minimum value of matrix Y.
Ymin = minimum value (seconds)