Adjust Timescale in Timeseries
Show older comments
Hello,
I have four different timeseries vectors containing velocity data from four different test runs. Since they were recorded in the field, the time between the startup of the data logger and the initial movement of the vehicle varies.
I am trying to remove this dead space in order to better compare the different runs.
I have tried adding events to the individual timeseries and then using gettsafteratevent(), but that only deletes the dead space and does not adjust the X-axis. I've also tried resampling with a new timevector, but have only had error messages with that.
Here is the image with the 4 different runs, and events placed where the run really begins:

The only other thought I had was to bring the data into arrays, delete the data that I dont need, and then reconvert to time series.
Anyone have any other ideas?
Thanks, Jay
Accepted Answer
More Answers (0)
Categories
Find more on Time Series Collections in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!