how to find time difference between two times?
586 views (last 30 days)
Star Strider on 3 Dec 2016
The etime function does exactly what you want. You have to convert your times to date vectors first:
time_interval_in_seconds = etime(t22,t11)