MATLAB: How to create a time stamp with 5 minutes interval

functiontime stamp

Hi everyone! I still trying to solve the next problem, sorry for too much asking but I really need to solve this:
I have two columns column A are dates and times and column B are prices. Column A is in Matlab format and looks like this:
[02-Jan-1990 10:09:00
02-Jan-1990 10:10:00
02-Jan-1990 10:11:00
02-Jan-1990 10:12:00 ...]
the variable description is char
And column B:
[353.400
353.2500
353.0200
352.9700
...]
the variable description is double
I need to rearrange A column so it gives me the prices in 5 minutes intervals and the corresponding price B (now I have them for every minute).
Column A goes from 1990 until 2016 so the calculation has to consider changes in days, months and years.
Thanks a lot for your help!

Best Answer

A(1:5:end)
B(1:5:end)