How to convert vectors of unequal length to the same size

2 views (last 30 days)
I have a set of time series vectors that have varying lengths and I am trying to determine a method using which all of them could have the same specified length. I believe that the signal processing toolbox of Matlab has certain resampling options that can help me with my problem, however I am unable to figure it out.

Answers (1)

Walter Roberson
Walter Roberson on 23 Apr 2019
If you have two timeseries, you can use https://www.mathworks.com/help/matlab/ref/timeseries.synchronize.html synchronize()

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!