I have a vector of time which are linked to dates but I only want to subtract the times from each other without considering the dates too. For example, I want to do 4:30 - 3:30 is equal to 1 hour and then 3:30 - 2:50 is equal to 40 minutes (0.6666667) and etc. I dont want Matlab to consider the date period basically.
I have this code for the time from 25-Apr to 01-May but it does take into account the date too:
Can anyone help please? Thank you.