Problem with retime function
6 views (last 30 days)
I am trying to use retime in my Table however I am facing one problem.
As you can see in the Image above, this is my time vector and from 2nd July on 12:00 bis 8th July 12:00 I don't have data (this is why is a vertical line)
Well, I would like to fill in this vector with Zeros. Fro that I used the following code:
TT2 = retime(theRawData, newTimes, 'Constant',0)
where theRowData is my origical table without data from 2nd bis 8th
the newTimes is a vector for that I created with all the time even where I don't have data.
I am attachin the variables as well.
The idea it to fill in with zeros just in the time where we don't have data, however from 02 july 12:00 until the end of my vector , I am receiving zeros.
Thanks in advance.