How to convert vectors of unequal length to the same size

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Walter Roberson
Walter Roberson il 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!

Translated by